填空题

注释说明了程序的功能,它分为 注释和功能性注释。

【参考答案】

序言性
<上一题 目录 下一题>
热门 试题

单项选择题
请读程序: #include <stdio.h> int a[]=2,4,6,8,; main() int i; int *p=a; for( i=0;i<4;i++) a[i]=*p++; priatf( %d n ,a[2]); 上面程序的输出结果是()。

A. 6
B. 8
C. 4
D. 2

单项选择题
有以下程序 #include<stdio.h> #include<string.h> typedef structchar name[9];char sex;float score[2];)STU; STU f(STU a) STU b= Zhao ,'in',85.0,90.0);int i; strcpy(a.name,b.name); a.sex=b.sex; for(i=0;i<2;i++) a.score[i]=b.score[i]; return a; main() STU c= Qian ,'f',95.0,92.0,d; d=f(c);printf( %s,%c,%2.0f,%2.0f ,d.name,d.sex,d.score[0],d.score[1]); 程序的运行结果是()。

A.qian,f,95,92
B.qian,m,85,90
C.ZhaO,m,85,90
D.Zhao,f,95,92

相关试题
  • 下面rotate函数的功能是:将n行n列的矩阵A...
  • 有下面的程序:#include <stdio, h>m...
  • 在面向对象方法中,类的实例称为______。
  • 以下程序中函数huiwen的功能是检查一个字符...
  • 表示“整数x的绝对值大于5”时值为“假”...