GAT Subject
Engineering
Computer Science Civil Engineering Chemical Engineering Agricultural Engineering Mechanical Engineering Electronics and Communication
9. | What is the output of the program? | |
A. | 2, 3, 3 | |
B. | 3, 2, 2 | |
C. | 0, 0, 0 | |
D. | Garbage Value | |
Answer: Option C | |
Explanation: | |
When an automatic array is partially initialized, the remaining elements are initialized to 0. |
|
Tutorial Link: |