week16

/* Note:Your choice is C IDE */
#include "stdio.h"
main()
{	int ages[3]={18,19,20};
	int *p;
	p=ages;
	printf("%d %d %d %d \n",ages[1],p[1],*(p+1),*(ages+1));
    
}

数组与指针

你可能感兴趣的:(week16)