打印指针的值

700阅读 0评论2014-03-04 testh
分类:C/C++

有个指针
void *pointer;

pointer=malloc(len);

直接printf("the content of pointer =%p\n",pointer); 就行了。


上一篇:mac下使用ssh连接远程主机,修改vim中的颜色
下一篇:解决 error: expected declaration specifiers or '...' before 'sem_t'