[单选题]

执行下面程序中的输出语句后,a的值是 main() { int a; cout<<(a=3*5,a*4,a+5); }

A.65

B.20

C.15

D.10

参考答案与解析:

相关试题

执行下面程序中的输出语句后,a的值是 main( ) { int a; cout

[单选题]执行下面程序中的输出语句后,a的值是main( ){int a;cout<<(a=3*5,a*4,a+5);}A.65B.20C.15D.10

  • 查看答案
  • 执行下列程序中的输出语句后,a的值是()。main(){int a;printf

    [单选题]执行下列程序中的输出语句后,a的值是( )。 main() { int a; printf("%d/n",(a=2*3,a*5,a+7)); }A.17B.37C.6D.13

  • 查看答案
  • 执行下列程序中的输出语句后,a的值是()。 main() {int a; pri

    [单选题]执行下列程序中的输出语句后,a的值是( )。main(){ int a;printf("%d/n",(a=2*3,a*5,a+7) );}A.17B.37C.6D.13

  • 查看答案
  • 执行下列程序中的输出语句后,a的值是()。main(){ int a;print

    [单选题]执行下列程序中的输出语句后,a的值是( )。 main() { int a; printf("%d/n",(a=2*3,a*5,a+7)); }A.17B.37C.6D.13

  • 查看答案
  • 执行下列程序中的输出语句后,a的值是()。main(){int a;printf

    [单选题]执行下列程序中的输出语句后,a的值是( )。 main() { int a; printf("%d/n", (a=2*3,a*5,a+7)); }A.17B.37C.6D.13

  • 查看答案
  • 执行下列语句后,输出结果为()。cout.put(‘s’);cout<<‘c’<

    [单选题]执行下列语句后,输出结果为( )。 cout.put(‘s’); cout<<‘c’<<‘a’;A.caB.scaC.sD.a

  • 查看答案
  • 执行下面程序中的输出语句后,a的值是()。#includemain(){int

    [单选题]执行下面程序中的输出语句后,a的值是()。includemain(){int a; printf("%d/n",(a=3*5,a执行下面程序中的输出语句后,a的值是( )。 #include <stdio.h> main() { int a; printf("%d/n",(a=3*5,a*4));A.15B.20C.10D.60

  • 查看答案
  • 有以下程序 main( ) { int i=10,j=1; cout<<£­ £

    [单选题]有以下程序main( ){ int i=10,j=1;cout<<- -<<","<<++j<<endl;}执行后输出结果是A.9,2B.10,2C.9,1D.10,1

  • 查看答案
  • 下面程序段的输出结果是()。int x=5;do{ cout<< £­£­x;}

    [单选题]下面程序段的输出结果是( )。 int x=5; do{ cout<< --x; }while(!x);A.43210B.5C.4D.无任何输出

  • 查看答案
  • 有以下程序 main() {int i=10,j=1; cout<<i£­£­<

    [单选题]有以下程序 main() {int i=10,j=1; cout<<i--<<","<<++j<<endl; 执行后输出结果是A.9,2B.10,2C.9,1D.10,1

  • 查看答案