1.

What will be the output of the following C code?
#include <stdio.h>
int main()
{
const int num[5] = {11, 21, 31, 41, 51};
int *ptr;
ptr = num + 3;
*ptr = 50;
printf("%d n", num[3]);
}

A. 11
B. 21
C. 31
D. 51
E. 50
Answer» F.


Discussion

No Comment Found