1 |
%f is used for: |
- A. Double
- B. Float
- C. Integer
- D. Short
|
2 |
An advantages of partitioning is |
- A. Efficiency
- B. Extra space and update time
- C. Both a & b
- D. None of them
|
3 |
As ampersand before the name of a variable denotes: |
- A. Actual value
- B. Variable name
- C. Address
- D. Data type
|
4 |
Which of the following is a possible value of flag? |
- A. -
- B. +
- C. Space
- D. All
|
5 |
Which of the following is not a valid escape code? |
|
6 |
Which of the following is displayed by printf function? |
- A. Text
- B. Constant or values of variable
- C. A and B
- D. Graphics
|
7 |
Which of the following things are determined by format specifier? |
- A. Data type
- B. Field width
- C. Format of the value
- D. All of these
|
8 |
The general form of format specifier for floating point value: |
- A. %m.nf
- B. m.n%
- C. m%.nf
- D. m.n%f
|
9 |
The escape sequence for backspace is |
|
10 |
Which of the following is NOT legal element of control string in printf statement? |
- A. Ordinary characters
- B. Escape sequence
- C. Format specifier
- D. Variables
|