What is the output of the following code:
int v()
{
int m=0;
return m++;
}
int main()
{
cout<<v();
}
1) 1
2) 0
3) Code cannot compile
Answer Posted / durga shankar mishra
write answer of the 0
Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
There are two base class B1,B2 and there is one class D which is derived from both classes, Explain the flow of calling constructors and destructors when an object of derived class is instantiated.
What is advantage of inheritance?
which feature are not hold visual basic of oop?
What is a function in oop?
What is encapsulation process?
Who invented oop?
What is destructor in oop?
What is overriding in oops?
What is constructor overloading in oop?
What are the 5 oop principles?
Why do while loop is used?
What is multilevel inheritance?
What type of loop is a for loop?
Which language is pure oop?
What is encapsulation in oops?