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

Find the output of the following program:

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

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

More from this paper