↧
confused about the result?
On 4/6/2014 11:03 AM, Ye_Ye wrote: char str[]="hello people"; char *p=&str[0];++*p++;I thought the result of puta(str) is "hfllo people". However, the result is "iello people". Why the result is...
View Articleconfused about the result?
char str[]="hello people"; char *p=&str[0]; char *tem=&str[1]; printf("p=%p\n",p); printf("*p=%c\n",*p);hi,I'm confused about "%p". I searched about it. it is about a address. Then I tested it...
View Article