Vidyalelo
C Programming · Q189

C Fundamentals

Programming · C Programming · question 189

Q189

What will be the output of the following C code? #include int main() const int p; p = 4; printf("p is %d", p); return 0;

A.
p is 4
B.
Compile time error
Answer
C.
Run time error
D.
p is followed by a garbage value

Answer: Option B

Solution

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