Vidyalelo
C Programming · Q93

Function

Programming · C Programming · question 93

Q93

What will be the output of the following C code? #include int main() register int i = 10; int *p = &i; *p = 11; printf("%d %d ", i, *p);

A.
Depends on whether i is actually stored in machine register
B.
10 10
C.
11 11
D.
Compile time error
Answer

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board