What is the output of the following 'C' program?
main()
{
int a[5]={2,3};
printf("\n%d%d%d",a[2],a[3],a[4]);
}
A. | Garbage Values |
B. | Error |
C. | 3 2 2 |
D. | 0 0 0 |
Answer : D Explanation : |
|
Option: A Explanation : Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here. |