单项选择题

有以下程序:
#include<stdio.h>
#define F(X,Y) (X)*(Y)
main()
int a=3,b=4;
printf("%d\n",F(a++,b++));

程序运行后的输出结果是( )。

A) 12
B) 15
C) 16
D) 20
<上一题 目录 下一题>
热门 试题

单项选择题
根据下列的定义,能打印出字母P的语句是( )。 struct stu char name[10]; int age; ; struct sm s[10]= John ,11, Pau1 ,12, Mary ,11, adam ,12 ;
A) printf("%c",s[3].name);

B) printf("%c",s[3].name[1]);
C) printf("%c",s[2].name[1]);

D) printf("%c",s[1].name[0]);
单项选择题
以下正确的程序段是()

A.char str1[]="12345",str2[]="abcdef";
B.char str[10],*st="abcde";strcat(str,st);
C.charstr[10]=" "。*st="abcde";strcat(str,st);
D.char*st1="12345",*st2="abcde";strcat(st1,st2);

相关试题
  • 下列程序的输出结果是______。 #in...
  • 有以下程序: void f(int*x,iht * ...
  • 有以下程序: #include<stdio.h> mai...
  • 已知字符A的ASCII码值为65,以下程序运行...
  • 以下程序运行后的输出结果是 。 main()...