标签:blog can bsp scanf logs alt http image std
#include<stdio.h>
int main()
int a[10];//定义a数组
int *p,i;//定义指针p
for(i=0;i<10;i++)
scanf("%d",&a[i]);//规定a[i]为整形
printf("\n");
for(p=a;p<(a+10);p++)//把指针p指向a数组
printf("%d",*p);
printf("\n");
标签:blog can bsp scanf logs alt http image std
原文地址:http://www.cnblogs.com/hlt521/p/6576896.html