Which of the following symbol is used for NOT operator?
a) ||
b) &&
c) !
d) #
The logical NOT operator (!) is a…….
a) unary operator
b) binary operator
c) ternary operator
d) bitwise operator
A decision statement can be used for……
a) run set of statements
b) test a set of conditions
c) test if condition is true
d) all of these
Which of the following is not a conditional statement?
a) if
b) if….else
c) switch
d) while
Which of the following is used for making two way decisions?
a) if…..else
b) if
c) nested if
d) switch
In if statement, test statement is written within symbol…..
a) ( )
b) { }
c) [ ]
d) << <<