1 |
Which of the following is a possible value of flag? |
- A. -
- B. +
- C. Space
- D. All
|
2 |
The function used to input data in C program is |
- A. Print ()
- B. Scanf ()
- C. Sqrt ()
- D. Main ()
|
3 |
The format specifier % d is used for |
- A. Int
- B. Unsigned short
- C. Unsigned float
- D. Unsigned long int
|
4 |
A factor consider when choosing a file organization is |
- A. Fast data retrieval
- B. Security
- C. Efficient storage
- D. All of them
|
5 |
The general form of format specifier for floating point value: |
- A. %m.nf
- B. m.n%
- C. m%.nf
- D. m.n%f
|
6 |
Which character signifies the beginning of an escape sequence? |
|
7 |
Which of the following format specifiers is used for character data type? |
|
8 |
%f is used for: |
- A. Double
- B. Float
- C. Integer
- D. Short
|
9 |
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
|
10 |
The statement printf ("%-10d",n) will display the value of n: |
- A. Right justified in ten-character space
- B. Left justified in ten-character space
- C. Center-justified in ten-character space
- D. None of these
|