单项选择题

有以下程序
#define f(x) x*x
main()
int i;
i=f(4+4)/f(2+2);
printf("%d\n",i);
执行后输出结果是

A.28
B.22
C.16
D.4
<上一题 目录 下一题>
热门 试题

单项选择题
用黑盒技术测试用例的方法之一为
A.因果图
B.逻辑覆盖
C.循环覆盖
D.基本路径测试
单项选择题
以下程序段中,不能正确赋字符串(编译时系统会提示错误)的是:
A.char s[10]="abcdefg";
B.char t[]="abcdefg",*s=t;
C.char s[10];s="abcdefg";
D.char s[10];strcpy(s,"abcdefg");
相关试题
  • 有以下程序 #include <stringh> main...
  • 有以下程序 #include <stdio.h> mai...
  • 有以下程序 int f(int b[][4]) ...
  • 下面程序的功能是输出以下形式的金字塔图案...
  • 有以下程序 struct STU char name[1...