void *p;
p++;
p += 1;
#include <stdio.h>
int main()
{
int i = 4276803;
void *p = &i;
printf ("%d\n", *((int *)p));
p++;
printf ("%c\n", *((char *)p));
return 0;
}
[beyes@beyes strp]$ ./voidp
4276803
B
欢迎光临 曲径通幽论坛 (http://www.groad.net/bbs/) | Powered by Discuz! X3.2 |