1.

Which of the following statements are correct about 4 used in the following C expressions?
int num[4] ;
num[4] = 23 ;

A. In the first statement 4 specifies a particular element, whereas in the second statement it specifies a type.
B. In the first statement 4 specifies the array size, whereas in the second statement it specifies a particular element of the array.
C. In the first statement 4 specifies a particular element, whereas in the second statement it specifies the array size.
D. In both the statement 4 specifies array size.
E. In the first statement 4 specifies array size, whereas in the second statement it specifies that the array size be increased from 4 to 23.
Answer» C. In the first statement 4 specifies a particular element, whereas in the second statement it specifies the array size.


Discussion

No Comment Found