c语言英文选择笔试题.docxVIP

  • 0
  • 0
  • 约2.38万字
  • 约 28页
  • 2026-09-11 发布于浙江
  • 举报

c语言英文选择笔试题

考试时间:______分钟总分:______分姓名:______

Part1:DataTypesandOperators

1.Whichofthefollowingdatatypesistypicallyusedforstoringwholenumberswithnofractionalpart?

a)`float`

b)`double`

c)`int`

d)`char`

2.Whatistheresultoftheexpression`3+4*2`inC?

a)14

b)10

c)8

d)7

3.Whichoperatorisusedtoallocatememorydynamicallyforaninteger?

a)``

b)`*`

c)`new`(AssumeC++syntaxforillustration,though`malloc`isCstandard)

d)`sizeof`

4.Considerthevariabledeclaration`intx=10;`.Whatwil

文档评论(0)

1亿VIP精品文档

相关文档