Vidyalelo
Computer Science · Q424

Linux

Engineering and GATE · Computer Science · question 424

Q424

What is the output of this program? #include #inlcude int main() int *ptr; double *ptr; printf("%d ",sizeof(ptr)); return 0;

A.
4
B.
8
C.
the compiler will give the error
Answer
D.
segmentaion fault

Answer: Option C

Solution

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