Q76
What will be the output of the following C code? #include struct temp int a; s; void change(struct temp); main() s.a = 10; change(s); printf("%d ", s.a); void change(struct temp s) s.a = 1;
A.
Output will be 1
B.
Output will be 10
AnswerC.
Output varies with machine
D.
Compile time error
Answer: Option B
Solution
Answer: Option B
No explanation is given for this question Let's Discuss on Board