-
Which of the following statements are correct about 4 used in the following C expressions?
int num[4] ;
num[4] = 23 ;
-
- In the first statement 4 specifies a particular element, whereas in the second statement it specifies a type.
- In the first statement 4 specifies the array size, whereas in the second statement it specifies a particular element of the array.
- In the first statement 4 specifies a particular element, whereas in the second statement it specifies the array size.
- In both the statement 4 specifies array size.
- 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.
Correct Option: B
In the first statement 4 specifies the array size, whereas in the second statement it specifies a particular element of the array.