合肥大学c语言试题及答案,合肥工业大学c语言题库填空1(HeFei University of Technology C language examination questions 1).doc...

合肥工业大学c语言题库填空1(HeFei University of Technology C language examination questions 1)

合肥工业大学c语言题库填空1(HeFei University of Technology C language examination questions 1)

Examination paper number: 10193

Languages: Turbo, C

Test plan: TK

Total score of test paper: 2540

There are 1 types of questions

Thought of thought - -

Fill in the blanks and fill in 254 questions (2540 points altogether)

Thought of thought - -

First questions (10 points)

In C, the access to a file is 1, and this file is called [2].

Answer:

1) characters

2) flow type

Second questions (10 points)

The output of the following statement is [1]. Int a=-1; printf ("%x", "a");

Answer:

1). Ffff

Third questions (10 points)

The expression value is 18 & & 53 [1].

Answer:

1) 1.

Fourth questions (10 points)

In the C language, the int type data takes 2 bytes, and the long type data occupies 1 bytes,

Short type data makes up [2] bytes.

Answer:

1) 4.

2) 2.

Fifth questions (10 points)

The value of the expression 3%-5 is [1].

Answer:

1) 3.

Sixth questions (10 points)

The value of the expression -3%-5 is [1].

Answer:

1) -3.

Seventh questions (10 points)

Given the x=3, y=2, the value of the expression x*=y+8 is [1].

Answer:

1) 30.

Eighth questions (10 points)

If there is a definition: int a[3][2]={2,4,6,8,10,12}, then the value of * (a[1]+1) is [1].

Answer:

1) 8.

Ninth questions (10 points)

The length of the string "\abc\t\x42\128bcd\n" is [1]

Answer:

1) 11.

Tenth questions (10 points)

Statement: x++; ++x; x=x+1; x=l+x;

After execution, the value in the variable x is increased by 1. Write an assignment statement of the same function [1].

Answer:

1). X+=1

Eleventh questions (10 points)

Int, x=4, y=z=2; x=x== (y=z); then the value of X is [1].

Answer:

1) 0.

Twelfth questions (10 points)

Call [1] of a function is a function that calls itself directly or indirectly.

Answer:

1) recursion

Thirteenth questions (10 points)

The known a=10, b=15, c=1, d=2, e=0, then expressions, the value of a

Answer:

1) 0.

Fourteenth questions (10 points)

The output of the following program segment is [1].

Int a=12; a=a&0

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值