c语言的一个程序不知道哪里出错了,编译显示3个错误
#include "stdio.h"void main()
{
int a[]={2,3,4,5,6};
int *p1;
p1=a;
printf("%d\n",p1+2);
printf("%d\n",*(p1+2));
p1=a+2;
printf("%d\n",p1+2);
printf("%d\n",*(p1+2));
char *p2="computer\n";
printf("%s\n",p2+2);
printf("%s\n",*(p2+2));
}