T F All arguments following the format control string in a printf function must
ID: 3860451 • Letter: T
Question
T F All arguments following the format control string in a printf function must be preceded by an ampersand (&). ii. T F The statement x = 3: is an example of an assignment statement. iii. T F The datatype unsigned int is used for numbers with decimal points. iv. T F + + b is used to increment b by 1, then use the new value of b in the expression in which + + b resides. v. T F The expression gender = = 1 || age > 65 is True when either gender is equal to 1 or age greater than 65. vi. T F Strings in C are stored in character arrays vii. T F The do.. while statement tests the loop-continuation condition before the loop body is performed. viii. T F The continue statement, when executed in a repetition statement, causes the next iteration of the loop to be performed immediately. ix. T F A recursive function is a function that cells itself either directly or indirectly through another function. x. T F The length of an Array has to be specified when defining itExplanation / Answer
1. False
because it is done in case of Scanf statement.
2. True
Because '=' is an assignment operator.
3. False
Because Unsigned int carries only positive values with it.
4. True
5. True
Because the logical operator OR(||) results true if either of the logic is true.
6. True
7. False
The do while checks for continuation only after the loop gets exected but not before.The given statement is true for While loop.
8. True
9. True
10.True
A size of an array is declared at the time of defining data type itself.
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.