Last active
December 2, 2019 06:32
-
-
Save LoadDragon0000000000/be3953e69e1ad0a74ea47e07b6e31d5f to your computer and use it in GitHub Desktop.
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 number = 100; // 実際に扱うデータ | |
int* numberP = &number; // ポインタ変数にnumberのアドレスを代入 | |
printf("%d \n", numberP); // numberのアドレスを表示 | |
printf("%d \n", *numberP); // numberの中身を表示 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment