Q124
What will be the output of the following C code? #include typedef int integer; int main() int i = 10, *ptr; float f = 20; integer j = i; ptr = &j; printf("%d ", *ptr); return 0;
A.
Compile time error
B.
Undefined behaviour
C.
Depends on the standard
D.
10
AnswerAnswer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board