Vidyalelo
C Programming · Q266

C Fundamentals

Programming · C Programming · question 266

Q266

What will be the output of the following C code? #include void main() int k = 4; int *const p = &k; int r = 3; p = &r; printf("%d", p);

A.
Address of k
B.
Address of r
C.
Compile time error
Answer
D.
Address of k + address of r

Answer: Option C

Solution

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