1.

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

A. Compilation Error
B. 12
C. Runtime Error
D. Address of k
E. None of these
Answer» C. Runtime Error


Discussion

No Comment Found

Related MCQs