摘要:
#include<stdio.h>int main(){ int a=1; int *b; b=&a; return 0;} 若将b=&a改为*b=a,运行时将会出现错误。下面是几种对指针变量b的赋值: p=&a; p=NULL; p=0; p=(int *)1732; 阅读全文
posted @ 2017-10-31 22:50
balance_uit
阅读(200)
评论(0)
推荐(0)
摘要:
#include<stdio.h>void numberC(int a,int b){ int c; c=a; a=b; b=c;}void addressC(int *c,int *d){ int *a; a=c; c=d; d=a;}void towardC(int *c,int *d){ in 阅读全文
posted @ 2017-10-31 22:41
balance_uit
阅读(853)
评论(0)
推荐(0)

浙公网安备 33010602011771号