Vidyalelo
C Programming · Q243

Pointer

Programming · C Programming · question 243

Q243

What will be the output of the following C code? #include int main() double *ptr = (double *)100; ptr = ptr + 2; printf("%u", ptr);

A.
102
B.
104
C.
108
D.
116
Answer

Answer: Option D

Solution

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