Exam
Adept.com
Home
About Us
Contact
🏠 Home
Oops Concepts
Oops Concepts
Exercise: Oops Concepts
📂 Oops Concepts
✅
Questions for: Oops Concepts
Which of the following keyword is used to overload an operator?
A:
overload
B:
operator
C:
friend
D:
override
Answer:
B
No answer description is available.
Let's discuss.
Discuss About this Question.
Post
Which of the following header file includes definition of
cin
and
cout
?
A:
istream.h
B:
ostream.h
C:
iomanip.h
D:
iostream.h
Answer:
D
No answer description is available.
Let's discuss.
Discuss About this Question.
Post
Which one of the following is the correct way to declare a pure virtual function?
A:
virtual void Display(void){0};
B:
virtual void Display = 0;
C:
virtual void Display(void) = 0;
D:
void Display(void) = 0;
Answer:
C
No answer description is available.
Let's discuss.
Discuss About this Question.
Post
Which of the following statements regarding inline functions is correct?
A:
It speeds up execution.
B:
It slows down execution.
C:
It increases the code size.
D:
Both A and C.
Answer:
D
No answer description is available.
Let's discuss.
Discuss About this Question.
Post
In which of the following a virtual call is resolved at the time of compilation?
A:
From inside the destructor.
B:
From inside the constructor.
C:
From inside the
main()
.
D:
Both A and B.
Answer:
D
No answer description is available.
Let's discuss.
Discuss About this Question.
Post
Ad Slot (Above Pagination)
‹ Prev
1
2
3
4
5
6
7
8
9
10
11
Next ›
Install ExamAdept
Fast access — add this app to your device.
Install
✕
To install on iPhone/iPad: tap Share →
Add to Home Screen
.
Quiz
Discuss About this Question.