1 |
Which of the following forces printf() to change its normal behavior ? |
- A. escape sequence
- B. escape
- C. sequence
- D. esc
|
2 |
Which of the following is a type of operator ? |
- A. assignment operator
- B. arithmeticoperators
- C. logicaloperators
- D. all of these
|
3 |
Format specifier is always preceded by: |
|
4 |
Which operator is used to divide the value on left side by the value on right side ? |
|
5 |
Which operator accepts Boolean expression and returns true if at least one of the operands is true ? |
|
6 |
The operator % is used to calculate __________: |
- A. percentage
- B. remainder
- C. factorial
- D. square
|
7 |
Which is a built-in function in C programming language to show output on screen? |
- A. printf()
- B. scanf()
- C. input
- D. print
|
8 |
Which is identifier for compiler to identity the end of a line ? |
|
9 |
Which of the following is not a type of operator ? |
- A. arithmetic operator
- B. checkoperator
- C. relationaloperator
- D. logicaloperator
|
10 |
getch() is used to take ________ as input form user: |
- A. int
- B. char
- C. float
- D. all of them
|