fenby C语言 P27使用指针

使用指针

p代表地址

*p代表这个地址存放的内容

#include <stdio.h>

int main()
{
int x=100,y=200,*p1=&x,*p2=&y;
printf("x和y的值是:%d",*p1+*p2);
return;
}

posted on 2015-05-15 15:51  我是阿喵酱  阅读(99)  评论(0编辑  收藏  举报