Question: What is printed by the following C code? a (x+1) #define int x = 2; void b() { x = a; printf(%d , x);
What is printed by the following C code? a (x+1) #define int x = 2; void b() { x = a; printf("%d ", x); } void c() { int x = 1; printf("%d ", a); } void main() {b(); c(); }
Step by Step Solution
3.32 Rating (152 Votes )
There are 3 Steps involved in it
The image displays a C code snippet which is meant to be executed to find out what it pri... View full answer
Get step-by-step solutions from verified subject matter experts
