1 |
Which format specifier is used for character data type ? |
|
2 |
Which function is generally used to hold the execution of program because the program does not continue further until the user types a key ? |
- A. read
- B. getch()
- C. input
- D. printf
|
3 |
Which format specifier is used for integer data type ? |
- A. %d
- B. %i
- C. both a and b
- D. none of these
|
4 |
Which symbol is used to represent the AND operator ? |
- A. &&
- B. ||
- C. +
- D. !
|
5 |
Which operator returns remainder ? |
- A. modulusoperators
- B. binaryoperators
- C. ternaryoperators
- D. all of these
|
6 |
Which operator accepts Boolean expression and returns true if at least one of the operands is true ? |
|
7 |
Which operator is used to multiply two values ? |
|
8 |
Which is a combination of backslash (\) and a code character to control printing of data on the screen ? |
- A. escape sequence
- B. format specified
- C. character
- D. printing
|
9 |
Which operator makes it true, if it is false and false if it true ? |
|
10 |
Which operator is used to subtract the value on right side from the value on left side ? |
|