单项选择题

下列选项中不符合良好程序设计风格的是【 】。

A.源程序要文档化
B.数据说明的次序要规范化
C.避免滥用goto语句
D.模块设计要保证高耦合、高内聚
<上一题 目录 下一题>
热门 试题

单项选择题
若有定义:float x=1.5;int a=1,b=3,C=2;则正确的switch语句是【 】。
A.switch(x) {case 1.0:printf("*\n");case 2.0:prinff("**\n");}
B.switch((int)x); {case 1:printf("*\n");case 2:printf("**\n");}
C.switch(a+b) {case 1:printf("*\n");case 2+1:prinff("**\n");}
D.switch(a+b) {case 1:printf("*\n"); case c:printf("**\n");}
单项选择题
下列数据结构中,能用二分法进行查找的是【 】。
A.顺序存储的有序线性表
B.线性链表
C.二叉链表
D.有序线性链表
相关试题
  • 有以下程序:main( )int f1 (int x...
  • 以下程序中函数reverse( )的功能是将a所...
  • 以下程序中函数scmp的功能是返回形参指针s...
  • 有以下程序int f1 (int x,inty){re...
  • 有以下程序:struct STU{char name[1...