一晚上装了个ubuntu12.04,还在终端上完成了我第一个程序的调试,高兴啊!
#include<stdio.h>
int main(void)
{
int i = 6;
int *p ;
p = &i;
printf("%d,%p\n",i,p);
return 0;
}
![](https://img-my.csdn.net/uploads/201206/03/1338654074_8886.jpg)
![](https://img-my.csdn.net/uploads/201206/03/1338654084_3362.jpg)