Created
July 25, 2015 08:31
-
-
Save varavut/86842711e1839c15b56e to your computer and use it in GitHub Desktop.
This file contains hidden or 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 = 9; i >= -1; 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