+ 3
Properly declared by which of the following specifiers can be derived?
public private protected visual studio
10 Respostas
+ 7
yes I also encountered this and I think something is wrong with this question
+ 6
it seems that the language of question isn't correct
I don't understand what the question was asking
+ 6
I encountered 1 more silly question
What extension c++ file must have?
+ 5
I also want to know the answer of another question related to virtual function because I know less about virtual function....
the question was
" choose the correct option "(there can be more than 1 correct ans)
1) virtual function can be constant
2) virtual function can call non virtual function
3) non virtual function can't call virtual function
please explain this if u know
I never done It correct
+ 5
not understood exactly....but ya it was helpful
thanks for the help
+ 5
and I didn't understand the function calling part
if there is a base class with 1 non virtual function and 1 virtual function
and a derived class with 1 virtual and 1 non virtual function
and if object of derived is created then what will be the order of calling and why?
+ 3
virtual functions enable run time polymorphism. The run time must refer to a virtual table attached to an object instantiated from any class containing a virtual function, or any class derived from one containing the virtual. the virtual table stores the address of virtual functions on a per object basis.
is this sufficient understanding to answer the question?
+ 2
I'm afraid it appears that another of those, "guess the question" as well as answer types has crept through.
+ 1
Just had this question, wanted to make you all aware. Maybe get it taken down, along with whoever wrote and approved it.. ;)
+ 1
@Sakshi oh well, what part requires further explanation? I edited it some more now.