单选题:为了避免在嵌套的条件语句if else中产生二义性,C语言规定,else子句总是与(.)配对。

  • 题目分类:C语言
  • 题目类型:单选题
  • 查看权限:VIP
题目内容:
为了避免在嵌套的条件语句if else中产生二义性,C语言规定,else子句总是与(.)配对。 A.缩排位置相同if
B.其前面最近的if
C.其后面最近的if
D.同一行上的if

参考答案:
答案解析:

下面程序输出的是( )。main(){ int t-1;fun(fun(t));)fun(int h){static

下面程序输出的是( )。main(){ int t-1;fun(fun(t));)fun(int h){static int a[3]-{1,2,3

查看答案

下列程序执行后的输出结果是( )。void func(int*a,int b[]){b[o]=*a+b;)main(){

下列程序执行后的输出结果是( )。void func(int*a,int b[]){b[o]=*a+b;)main(){ int a,b[5];a=0

查看答案

下列函数的类型是( )。fun(double x){float y;y=3*x-4;return y;}

下列函数的类型是( )。fun(double x){float y;y=3*x-4;return y;}A.int B.不确定 C.void D.f

查看答案

From the text we know that——.

From the text we know that——.A.people should refuse rubbish short messages B.SM

查看答案

听音频:{MP3:/imgcache/attached/media/20140228/20140228171540_82

听音频:{MP3:/imgcache/attached/media/20140228/20140228171540_8224.mp3}回答题:What’s

查看答案