Created
May 20, 2014 02:31
-
-
Save nightfly19/a9a5ec14f653c84855a9 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 <stdint.h> | |
int main(int argc, char** argv){ | |
char cow2[5][4]; | |
cow2[3][4] = 10; | |
cow2[0][0] = 1; | |
cow2[0][1] = 2; | |
printf("moo:%i\n", *((char*) cow2+(4*3+4))); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment