1.

What will be the output of the following C code?
#include <stdio.h>
int n = 0;
void main()
{
int *const p = &n;
printf("%p n", p);
p++;
printf("%p n ", p);
}

A. Same memory address
B. Compilation Error
C. Different memory address
D. Garbage value
E. None of these
Answer» C. Different memory address


Discussion

No Comment Found