1.

What will be the output of the following C code?
#include <stdio.h>
void main()
{
int arr[5] = {101, 201, 301, 401, 501};
int *q1 = arr;
int *q2 = &q1;
printf("%d", (**q2));
}

A. Garbage value
B. Compilation Error
C. 101
D. 102
E. Same memory address
Answer» C. 101


Discussion

No Comment Found