c语言完整版 pdf,(完整版)C语言技术与应用.pdf
一.填空1、are used to document a program and improve its readability.2、What,ifanything,printswhen eachofthefollowingC statementsisperformed?If nothing pri...
一.填空
1、 are used to document a program and improve its readability.
2、What, if anything, prints when each of the following C statements is performed?
If nothing prints, then answer “nothing. ”
Assume x = 2 and y = 3.
a) printf( "%d = %d", x + y, y + x );
b) z = x + y;
A location in the computer's memory that may contain different values at various
times throughout the execution of a program is called
a
Write a single pseudocode statement that indicates :Assign the sum of variables
x, y, and z to variable p.
The solution to any problem involves performing a series of actions in a specific
A synonym for procedure is
7、 State which values of the control variable x are printed by each of the following
for statements:
a)for ( x = 2; x <= 13; x += 2 )
printf( "%d\n", x );
b) for ( x = 3; x <= 15; x += 3 )
printf( "%d\n", x );
8、 Show the value of x after each of the following statements is performed:x=7.5
a) x = fabs( x);
b) x = floor( x);
C stores lists of values in
10、 The contents of a particular element of an array is called the of
that element.
11、The name of the element in row 3 and column 5 of array d is .
12、Write statements to accomplish each of the following:
a) Display the value of the seventh element of character array f.
b) Copy array a into the first portion of array b. Assume double a[ 11 ], b[ 34 ];
13、Consider a 2-by-5 integer array t.
a) Write a definition for t.
b)
DAMO开发者矩阵,由阿里巴巴达摩院和中国互联网协会联合发起,致力于探讨最前沿的技术趋势与应用成果,搭建高质量的交流与分享平台,推动技术创新与产业应用链接,围绕“人工智能与新型计算”构建开放共享的开发者生态。
更多推荐

所有评论(0)