问个傻瓜问题
#include<stdio.h>int main()
{
int a, b;
int *p, *q;
a=3; b=4;
*p = &a;
*q = &b;
printf("%d%d\n",*p,*q);
return 0;
}
[Error] C:\Users\lee\Documents\C-Free\Temp\未命名1.cpp:7: error: invalid conversion from `int*' to `int'
[Error] C:\Users\lee\Documents\C-Free\Temp\未命名1.cpp:8: error: invalid conversion from `int*' to `int'
求大侠点播下