Instruction
- Total number of questions : 10.
- Time alloted : 10 minutes.
- Each question carry 1 mark.
- No Negative marks
- DO NOT refresh the page.
- All the best :-).
1. |
When a language has the capability to produce new data type mean, it can be called as |
|||||||||||||||||||
Your Answer: Option (Not Answered) Correct Answer: Option B Explanation: Extensible is used to add new features to C++. |
2. |
Evaluate the following |
|||||||||||||||||||
Your Answer: Option (Not Answered) Correct Answer: Option B Explanation: none |
3. |
Which of these expressions will isolate the rightmost set bit? |
|||||||||||||||||||
Your Answer: Option (Not Answered) Correct Answer: Option C Explanation: None. |
4. |
Which of the following is illegal? |
|||||||||||||||||||
Your Answer: Option (Not Answered) Correct Answer: Option C Explanation: dp is initialized int value of i. |
5. |
Pick the right option |
|||||||||||||||||||
Your Answer: Option (Not Answered) Correct Answer: Option C Explanation: Global values are implicitly initialised to 0, but local values have to be initialised by the system. |
6. |
Pick out the correct statement. |
|||||||||||||||||||
Your Answer: Option (Not Answered) Correct Answer: Option A Explanation: None |
7. |
How many indicators are available in C ++ ? |
|||||||||||||||||||
Your Answer: Option (Not Answered) Correct Answer: Option B Explanation: There are three indicators are available in C++. They are Error indicator, |
8. |
What will be used when terminating a structure ? |
|||||||||||||||||||
Your Answer: Option (Not Answered) Correct Answer: Option C Explanation: While terminating a structure, a semi colon is used to end this up. |
9. |
What will be the output of this program ? #include <stdio.h> using namespace std ; int main () { int array[] = { 0 , 2 , 4, 6 , 7 , 5, 3 }; int n, result = 0 ; for (n = 0 ; n < 8 ; n ++ ) { result + = array [ n] ; } cout << result ; return 0; }
|
|||||||||||||||||||
Your Answer: Option (Not Answered) Correct Answer: Option D Explanation: We are adding all the elements in the array and printing it. Total elements in the array is 7, |
10. |
Which of the following advantages we lose by using multiple inheritance ? |
|||||||||||||||||||
Your Answer: Option (Not Answered) Correct Answer: Option C Explanation: The benefit of dynamic binding and polymorphism is that they help making the code |