+ 2
About increment !!
#include <stdio.h> int main() { int a=1; printf("%d %d %d",a,a++,++a); return 0; } I thought that this one should print 3 2 2 ...... but this code print 3 2 3 !!!!!! WHY !!
1 Réponse
#include <stdio.h> int main() { int a=1; printf("%d %d %d",a,a++,++a); return 0; } I thought that this one should print 3 2 2 ...... but this code print 3 2 3 !!!!!! WHY !!