Created
July 25, 2015 08:17
-
-
Save varavut/486a37c4a4e0c4d2c731 to your computer and use it in GitHub Desktop.
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 "stdafx.h" | |
#include <conio.h> | |
int _tmain(int argc, _TCHAR* argv[]) | |
{ | |
int a[10], i; | |
for (i = 0; i <= 10; i++) { | |
printf("before: i = %d\t", i); | |
a[i] = 0; | |
printf("after: i = %d, a[%d] = %d\n", i, i, a[i]); | |
} | |
_getch(); | |
return 0; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment