正在加载图片...
大学出 10.2.2指针变量的引用 GHUA UNIVERSITY PRESS 例10.1通过指针变量访问整型变量 #include <stdio. h> void main() int a, b; int *pointer 1, pointer 2; a=100;b=10; pointer 1=&a pointer 2=&b; printf(%od, %dn, a, b) printf( %/od, %dn,,pointer l,*pointer 2)10.2.2 指针变量的引用 例10.1 通过指针变量访问整型变量 #include <stdio.h> void main ( ) { int a,b; int *pointer_1, *pointer_2; a=100;b=10; pointer_1=&a; pointer_2=&b; printf(“%d,%d\n”,a,b); printf(“%d,%d\n”,*pointer_1, *pointer_2); }
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有