When I compiled this program in two different compiler then I got two different result why it is so?
#include <iostream>
#include <stdio.h>
using namespace std;
int main() {
int a = 3;
printf("%d%d", a++,++a);
return 0;
}
Producing different output:-
1. Turbo -> 44
2. GCC -> 45