13 lines
372 B
C
13 lines
372 B
C
#include<stdio.h>
|
|
int main()
|
|
{
|
|
// On ne peut nommer des variable en commencant par un chiffre.
|
|
int _x=5,y=0, _1tmp = 3;
|
|
_x++;
|
|
y = _x++;
|
|
y = ++_x; // Oubli du point-virgule
|
|
_1tmp = (y > _x);
|
|
//Value of _x, y and 1tmp
|
|
// 8, 8 et 0 (_x est incrémenté trois fois, y prend la valeur de _x après son troiséme incrémentation et 1tmp est «faux» car x==y)
|
|
}
|