1 |
All of arithmetic operators, relational operators and logical operators && and || are: |
- A. unary operators
- B. binaryoperators
- C. ternaryoperators
- D. all of these
|
2 |
Which operator negates or reverses the value of Boolean expression ? |
|
3 |
Which symbol is used to represent the OR operator ? |
|
4 |
Let the following part of code, what will be the value of variable an after execution:<div>int a = 4;</div><div>float b= 2.2;</div><div>a = a * b;</div> |
- A. 8.8
- B. 8
- C. 8.2
- D. 8.0
|
5 |
Which of the following is not a type of operator ? |
- A. arithmetic operator
- B. checkoperator
- C. relationaloperator
- D. logicaloperator
|
6 |
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
|
7 |
Which operator assigns the result of expression on right side to the variable on left side ? |
|
8 |
Which operator performs division of left operand by the right operand and returns the remainder value after division ? |
|
9 |
In C language _______ is used as statement terminator: |
|
10 |
Which escape sequence specifies the I/O function of moving to the next tab stop horizontally ? |
|