Created
August 24, 2014 18:07
-
-
Save eraserhd/9f253c5ed3a60d028ecc 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 <stdio.h> | |
| #include <stdlib.h> | |
| int main(int argc, char *argv[]) | |
| { | |
| int a_bunch_of_ints[100]; | |
| int kind_of_like_a_pointer; | |
| a_bunch_of_ints[2] = 76; | |
| a_bunch_of_ints[9] = 42; | |
| kind_of_like_a_pointer = 2; | |
| printf("%d\n", a_bunch_of_ints[kind_of_like_a_pointer]); | |
| exit(0); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment