[单选题]

若有定义语句
int b=2:
则表达式(b<<2)/(3 b)的值是(  )。

A.8

B.2

C.4

D.0

参考答案与解析:

相关试题

若有定义语句int b=2;,则表达式(b<<2)/(3 <img border="0" style="width: 15px; height: 16p

[单选题]若有定义语句int b=2;,则表达式(b<<2)/(3 b)的值是(  )。A.4B.8C.0D.2

  • 查看答案
  • 若有定义:int a,b:<br />通过语句<br /><img border="0" style="width: 175px; heig

    [单选题]若有定义:int a,b:通过语句能把整数3赋给变量a,5赋给变量b的输入数据是(  )。A.3,5B.3;5C.35D.35

  • 查看答案
  • 若有定义语句int b=2;,则表达式(b<<2)£¯(3||b)的值是( )。

    [单选题]若有定义语句int b=2;,则表达式(b<<2)£¯(3||b)的值是( )。A.4B.8C.0D.2若有定义语句int b=2;,则表达式(b<<2)/(3||b)的值是( )。A.4B.8C.0D.2

  • 查看答案
  • 若有定义语句:<br />int a=3,b=2,c=1;<br />以下选项中错误的赋值表达式是(  )。

    [单选题]若有定义语句:int a=3,b=2,c=1;以下选项中错误的赋值表达式是(  )。A.a=(b=4)+c;B.a=b=c+1;C.a=(b=4)=3

  • 查看答案
  • 若有函数:<br />viod fun(double a[],int* n)<br />……<img border="0" src="htt

    [单选题]若有函数:viod fun(double a[],int* n)……以下叙述中正确的是(  )。A.调用fun函数时只有数组执行按值传送,其他实参和形

  • 查看答案
  • ( 6 )若有定义语句: int a=3,b=2,c=1;, 则表达式 a<b?

    [试题]( 6 )若有定义语句: int a=3,b=2,c=1;, 则表达式 a<b?a:b 的值是 ___________ 。

  • 查看答案
  • 已定义以下函数<br />Int fun(int*p)<br /><img border="0" style="width: 9px; he

    [单选题]已定义以下函数Int fun(int*p)return *p;fun函数返回值是(  )。A.一个整数B.不确定的值C.形参p中存放的值D.形参p的地

  • 查看答案
  • 已知函数foo定义如下:<br />void foo(int a,int&b,int*c)<img border="0" style="widt

    [单选题]已知函数foo定义如下:void foo(int a,int&b,int*c)a++;b++;(* c)++;且有如下程序段:int a=1,b=2,

  • 查看答案
  • An analyst gathered the following information:<br /><img border="0" style="w

    [单选题]An analyst gathered the following information:For the tax-exempt security,

  • 查看答案
  • The following data are available on a company:<br /><img border="0" style="w

    [单选题]The following data are available on a company:The value of the company's li

  • 查看答案
  • 若有定义语句<br />int b=2:<br />则表达式(b<<2)/(3 <img border="0" style="w