Question: What will be printed by the following code? int f(int x) { ++x; return x; } void main(void) { printf(%d, f(2)); }
What will be printed by the following code? int f(int x) { ++x; return x; } void main(void) { printf("%d", f(2)); }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
