1 |
Which of the following is not a keyword? |
Case
Close
Char
Const
|
2 |
If you write a comment in C program then which of the following character is used? |
//and//
/*and /*
/* and */
** and **
|
3 |
a+=b is equivalent to |
b+=a
a = + b
a= a +b
b= b +a
|
4 |
The logical not operator denoted by ! is a |
Ternary operator
Uniary Operator
Binary Operator
Bitwise operator
|
5 |
Which of the following operators has lowest precedence? |
!
+
=
==
|
6 |
The symbol '=' represents |
Comparison operator
Assignment operator
Equal to operator
None of these
|
7 |
Which of the following data type offers the highest precision? |
Float
Long int
Long double
Unsigned long int
|
8 |
Which of the following is a valid character constant? |
a
"b"
'6'
=
|
9 |
Variables are created in |
RAM
ROM
Hard disk
Cache
|
10 |
In b = 6.6/a+(2*a+(3*c)/a*d)/(2/n): which operation will be performed first |
6.6/a
2*a
3 * c
2 /n
|