1.

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

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


Discussion

No Comment Found