![]() |
#2
a3827938962011-05-15 23:54
|
# include <stdio.h>
# include <malloc.h>
int main(void)
{
int * p = (int *)malloc(sizeof(int));
*p = 10;
错误在这-->printf("%d\n", *P);
free(p);
return 0;
}
错误提示:: error C2065: 'P' : undeclared identifier
怎么错了??