网站大量收购独家精品文档,联系QQ:2885784924

c语言试题(C language test questions).doc

  1. 1、本文档共26页,可阅读全部内容。
  2. 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
c语言试题(C language test questions)

c语言试题(C language test questions) C language programming, fall semester, 2012 Job submission format: ask your students to write the answer separately in a.Doc document and upload it as an attachment (dont fill the questions directly in the air). Special requirements format is as follows: One, ABCDD AAAAA Two, The title number is 910 The v v v v x x x x x x Three, (1) BeiJing ShangHai (2) x=8, y=7 (3) r=k:i+j=90 ...... The above is just an example, not the correct output. Please write and submit the result of the work according to the above regulations. The homework that does not conform to the above regulations will be treated as 0. Encourage independent work, and severely punish plagiarism. Chapter 1 homework First, the number 213, 12.75, 79.375 in sixteen hexadecimal Answer: 0xD5, 0xC.C, 0x4f.6 Two fill in the blanks 1. in C, the decimal value of the numeric constant 0x9f is 159. The ASCII code for the 2. letter A is the decimal number 97. Answer: Two, 1) 159 2) 97 The third chapter homework First, the multiple-choice question: 1 、 in the following variable names, B is illegal. (A) MyCar B) 4A C) my_car D) a48 2 、 in the following variable names, B is legal. (A) 56A B) _abc C) 48b D) while 3 、 in the following constants, B is the int type constant represented by sixteen decimal. A) 78, B) 0x7a C) X56 D) 063 4 、 assuming all variables are integers, then the value of the expression (a=2, b=5, b++, a+b) is B. A) 7, B) 8, C) 6, D) 2 5, the known C2 is character type, then execute the statement c2= A + 6 - 3 after the C2 value of B. A) C B) D C) uncertain value D) 70 6, a is an integer variable, B is a character type variable, C is a double type variable, and a+b+c is a (C) type (A) int B) float C) double D) char 7, the characters that cannot be used as identifiers in the C language are (C) A alphabet B numbers C% D underline 8, let int a; then the expression a=2,4, the value of a+1 is (C) A.1 B.2 C.3 D.4 9. let a be an integer variable, B is a character type

您可能关注的文档

文档评论(0)

f8r9t5c + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

版权声明书
用户编号:8000054077000003

1亿VIP精品文档

相关文档