Created
January 20, 2012 11:05
-
-
Save kenjiskywalker/1646720 to your computer and use it in GitHub Desktop.
addressof.c
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 int_var = 5; | |
int *int_ptr; | |
int_ptr = &int_var; // int_varのアドレスをint_ptrに設定する | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment