gcc (Ubuntu 4.4.3-4ubuntu5) 4.4.3 Говорит 13. Код: Code: #include <stdio.h> main() { int count; puts("Please enter a number: "); scanf("%d", &count); count = ++count + ++count; printf("The number is %d \n", count); } лог: Code: $ gcc -o i++ i++.c $ ./i++ Please enter a number: 5 The number is 13
Dev C++ Code: int i=5; i++; i++; i+=i; говорит i = 14 Code: int i = 5; i = i+++i; cout << i; говорит i = 11