Question: What is the output for below code #include stdio . h > int main ( void ) & int a = 5 ; int b

What is the output for below code
#include stdio.h>
int main(void) &
int a=5;
int b=a++;
int c=++a;
printf("a=$d,b=$d,c=8d,a,b,c;
}
a=6,b=6,c=6
a=7,b=5,c=7
a=7,b=6,c=7
a=7,b=5,c=6
 What is the output for below code #include stdio.h> int main(void)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!