1.

What will be the output of the following C code?
#include <stdio.h>
void main()
{
register int P = 50;
function();
printf("P is %d", P);
}
void function()
{
P++;
}

A. 51
B. Garbage value
C. Compilation Error
D. 50
E. None of these
Answer» D. 50


Discussion

No Comment Found

Related MCQs