Created
April 27, 2012 06:19
-
-
Save rssh/2506418 to your computer and use it in GitHub Desktop.
example of werid print behaviour for Peter
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
int main(int argc, char** argv) | |
{ | |
printf("sizeof(int)=%d, sizeof(long)=%d, sizeof(long long)=%d\n", sizeof(int), sizeof(long), sizeof(long long)); | |
long long check[3]; | |
check[0]=1; | |
printf("x1=%d, x2=%d, x3=%d\n", check[0],check[0],check[0]); | |
return 0; | |
} |
Author
rssh
commented
Apr 27, 2012
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment