C语言中的指针问题
#include<stdio.h>int main(){
char *p[]={"tencent","campus","recruiting"};
char **pp[]={"p+2","p+1","p"};
char ***ppp[]=pp;
printf("%s",**++ppp);
printf("%s",*++*++ppp);
return 0;
}
哪位大神帮忙看下最后输出什么?
在线等!
#include <stdio.h> int main( void ) { const char* p[] = { "someone", "campus", "recruiting" }; const char** pp[] = { p+2, p+1, p }; const char*** ppp = pp; printf( "%s\n", **++ppp ); printf( "%s\n", *++*++ppp ); return 0; }输出