What is the output of the following snippet
#include stdio.h
void solve() {
int a = 5;
int res = a++ + ++a + a++ + ++a;
printf("%d", res);
}
int main() {
solve();
return 0;
}

Posted on by