#include<stdio.h>
int main(){
int a[6]={1,2,3,4,5,6};
int *p=a;
for(int i=0;i<6;i++){
(*p)++;
p++;
}
int *p1=a;
for(int j=0;j<6;j++){
printf("%d",*(p1+j));
printf("%s","\n");
int c;
scanf("%d",&c);
return 0;
}
#include<stdio.h>
int main(){
int a[6]={1,2,3,4,5,6};
int *p=a;
for(int i=0;i<6;i++){
(*p)++;
p++;
}
int *p1=a;
for(int j=0;j<6;j++){
printf("%d",*(p1+j));
printf("%s","\n");
int c;
scanf("%d",&c);
return 0;
}