c 指向指针的指针




#include <stdio.h>
#include <stdlib.h>
#include <string.h>

int main(){
	char *name[]={"C","C++","PHP","ASP","ASP.NET","C#","JAVA","BASIC","PASCAL","COBOL"};
	char * *p;
	p=name+2;
	printf("p=%d \n *p=%s  \n **p=%c \n",p, *p,* *p);  
	return 0;
}


输出:


pateo@pateo-B86N53X:~/work/study$ ./test
p=-1076348448 
 *p=PHP  
 **p=P 
pateo@pateo-B86N53X:~/work/study$ 



你可能感兴趣的:(c 指向指针的指针)