填空题

以下程序的输出结果是 【14】 。
#include <stdio.h>
#define MAX(x,y) (x)>(y) (x):(y)
main()
int a=5,b=2,c=3,d=3,t;
t = MAX(a+b,c+d)*10;
printf("%d\n",1);

【参考答案】

G
<上一题 目录 下一题>
热门 试题

填空题
函数mycmp(char *s,char *t)的功能是比较字符串s和t的大小,当s等于t时返回0,当s>t时返回正值,当s<t时返回负值。请填空。 mycmp( char *s,char *t) while ( *s==*t) if(*s= =’ 0’) return 0; ++s; ++t; return( 【11】 );
填空题
以下程序的输出结果是 【9】 。 #include <stdio.h> void fun() static int a=0; a + =2; printf( %d ,a); main() int cc; for(cc = 1;cc < 4; cc++) fun(); printf( n );
相关试题
  • 若有以下定义和语句,则使指针p指向值为3...
  • 执行以下程序段后,s的值为 【15】 。...
  • 下列程序的字符串中各单词之间有一个空格,...
  • 在对文件进行操作的过程中,若要求文件的位...
  • 以下函数inverse的功能是使一个字符串按逆...