合肥工业大学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