Q82
What will be the output of the following C code? #include struct p int x; char y; struct p *ptr; ; int main() struct p p = 1, 2, &p; printf("%d ", p.ptr->x); return 0;
A.
Compile time error
B.
Undefined behaviour
C.
1
AnswerD.
2
Answer: Option C
Solution
Answer: Option C
No explanation is given for this question Let's Discuss on Board