Skip to content

Instantly share code, notes, and snippets.

@kenjiskywalker
Created January 20, 2012 11:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kenjiskywalker/1646720 to your computer and use it in GitHub Desktop.
Save kenjiskywalker/1646720 to your computer and use it in GitHub Desktop.
addressof.c
#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