1 |
Which symbol is used to represent the AND operator ? |
- A. &&
- B. ||
- C. +
- D. !
|
2 |
Which operator is used to assign a value to a variable ? |
- A. Assignmentoperator
- B. arithmeticoperator
- C. logicaloperator
- D. all of these
|
3 |
Which of the following is called escape character which is associated with each escape sequence to notify about escape ? |
- A. back slash (\)
- B. /
- C. ?
- D. :
|
4 |
After escape character, which specifies the movement of the cursor to start of next time ? |
|
5 |
Which format specifier is used for float data type ? |
|
6 |
Which operator is used to subtract the value on right side from the value on left side ? |
|
7 |
Which operator performs division of left operand by the right operand and returns the remainder value after division ? |
|
8 |
Which operator negates or reverses the value of Boolean expression ? |
|
9 |
Which operator requires three operands respectively to perform the operation ? |
- A. unary
- B. binary
- C. ternary
- D. all of these
|
10 |
Which of the following forces printf() to change its normal behavior ? |
- A. escape sequence
- B. escape
- C. sequence
- D. esc
|