GATE-Programming Methodology Questions and Answers
Practice ModeShowing 10 of 105 questions
Q31
Which one of the following is pure virtual function?
Answer: Option D
Q32
Virtual pointer is
Answer: Option A
Q33
Data members and member function of a class by default is respectively
Answer: Option A
Q34
Method overloading is
Answer: Option A
Q35
In the binary overloaded operator function, second operand should be passed
Answer: Option A
Q36
Overloading without explicit arguments to an operator function called
Answer: Option B
Q37
Friend function should be declared in the ..... part of the class.
Answer: Option C
Q38
A friend function can be called
Answer: Option D
Q39
A const member functions
Answer: Option A
Q40
Static member functions
Answer: Option A