144. 以下程序执行时,输入1 2 3 4 5<回车>,输出为

日期:2021-06-23 19:05:49 人气:1

144. 以下程序执行时,输入1 2 3 4 5<回车>,输出为

#include <stdio.h>
#define N 5
void main()
{
int a[N]; //创建数组
int *p=a; //使用指针
while(p<a+N) //限定指针不超出下标4
scanf("%d",p++); //将数据读
    A+
热门评论