1 |
%f is used for: |
- A. Double
- B. Float
- C. Integer
- D. Short
|
2 |
Print() function can show |
- A. Text
- B. Value of variable
- C. Constants
- D. All
|
3 |
The function used to show the output on screen is |
- A. Printf()
- B. Scanf()
- C. Sqrt()
- D. Main()
|
4 |
The functions used for input and output is stored in: |
- A. stdio.h
- B. conio.h
- C. math.h
- D. inout.h
|
5 |
Format specifier is started with symbol: |
|
6 |
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
|
7 |
An advantages of partitioning is |
- A. Efficiency
- B. Extra space and update time
- C. Both a & b
- D. None of them
|
8 |
Which of the following format specifiers is used for character data type? |
|
9 |
Which function is used to input data in C program? |
- A. scanf
- B. getch()
- C. gets()
- D. All
|
10 |
The header file that contains input and output functions is |
- A. Math.h
- B. Graphic.h
- C. Stdio.h
- D. Conio.h
|