1.

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

A. 11
B. Compilation Error
C. 22
D. Runtime Error
E. None of these
Answer» D. Runtime Error


Discussion

No Comment Found

Related MCQs