81. |
Choose a right statement.
float a = 5/2; float b = 5/2.0; float c = 5.0/2; float d = 5.0/2.0;
|
||||||||
Answer:
Option (c) |
82. |
What will the value of variable a?
int a = 25%10;
|
||||||||
Answer:
Option (c) |
83. |
Which of the following is a valid assignment operator?
|
||||||||
Answer:
Option (d) |
84. |
What will be the value of variable d?
int a = 10, b = 5, c = 5,d; d = b + c == a;
|
||||||||
Answer:
Option (b) |
85. |
What is the output?
void main()
|
||||||||
Answer:
Option (a) |
86. |
What will be the value of variable b?
int a; int b; a=1; b=a++;
|
||||||||
Answer:
Option (a) |
87. |
What will be the value of variable b?
int a; int b; a=1; b=++a;
|
||||||||
Answer:
Option (b) |
88. |
What will be the value of variable z?
int x=3, y=4; z = ++x * y++;
|
||||||||
Answer:
Option (c) |
89. |
What will be the output?
void main()
|
||||||||
Answer:
Option (c) |
90. |
Choose the correct statement about Left Shift Operator <<
|
||||||||
Answer:
Option (d) |