1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-09 08:16:58 +02:00

Merge pull request #530 from weakish/patch-10

c-cn: typo
This commit is contained in:
Nami-Doc
2014-02-16 15:08:52 +01:00

View File

@@ -331,8 +331,8 @@ printf("%d\n", (char)100.0);
/////////////////////////////////////// ///////////////////////////////////////
// 指针变量是用来储存内存地址的变量 // 指针变量是用来储存内存地址的变量
// 指针变量的声明也会告诉它所指向的数据的类型 // 指针变量的声明也会告诉它所指向的数据的类型
// 你可以得到你的变量的地址,并它们搞乱 // 你可以使用得到你的变量的地址,并它们搞乱;-)
int x = 0; int x = 0;
printf("%p\n", &x); // 用 & 来获取变量的地址 printf("%p\n", &x); // 用 & 来获取变量的地址