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
write a code for this. serial_number contained in the header of the file will be read , if this serial number is less than a previous serial number within a successfully processed file, or is the same as another serial number within a successfully processed file, or if the field contains anything other than 7 digits, then the file must error with the reason ‘Invalid SERIAL_NUMBER’.
write a C++ program for booking using constructor and destructor.
What is abstraction in oops with example?
if i have same function with same number of argument but defined in different files. Now i am adding these two files in a third file and calling this function . which will get called and wht decide the precedence?
What is polymorphism explain its types?
What is abstraction example?
What is abstraction in oop with example?
What is the real time example of encapsulation?
How do you explain polymorphism?
What does it mean when someone says I oop?
Why do we use encapsulation in oops?
Can destructor be overloaded?
What is a class and object?
What is polymorphism and why is it important?
What is the use of oops?