Find the output of the following program: #include<stdio.h> int main(){ int a=2,b=5,c; c=a+++b; printf("%d %d %d",a,b,c); return 0; }

Find the output of the following program:

#include<stdio.h>
int main(){
int a=2,b=5,c;
c=a+++b;
printf("%d %d %d",a,b,c);
return 0;
}

From the DESCO Assistant Engineer (CSE) September 2022 – Written (BUET) exam, question 5 of 10.

More from this paper