showaddr.c
来自「C语言经典程序的源码对初学者很有用,内容涉及面广」· C语言 代码 · 共 11 行
C
11 行
#include <stdio.h>
void main(void)
{
int a = 1, b = 2, c = 3;
printf("The address of a is %x the value of a is %d\n", &a, a);
printf("The address of b is %x the value of b is %d\n", &b, b);
printf("The address of c is %x the value of c id %d\n", &c, c);
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?