What is class invariant in c++?
No Answer is Posted For this Question
Be the First to Post Answer
Can we specify variable field width in a scanf() format string? If possible how?
Can we have "Virtual Constructors"?
What is a parameterized type?
Given the following seqment of code containing a group of nested if instructions: y = 9; if ((x==3) || (x == 5)) y++; else if (x == 2) y *= 2; else if (x == ) y-= 7; else y = 8; if the value of x is 4 before the nested IFs are executed, what is the value of y after the nested IFs are executed?
What return value must conversion operators have in their declaration?
What methods can be overridden in java?
Does defining a function inline mean that it wont push and pop things on/off the stack ...like parameters and the return the address??
I was a c++ code and was asked to find out the bug in that. The bug was that he declared an object locally in a function and tried to return the pointer to that object. Since the object is local to the function, it no more exists after returning from the function. The pointer, therefore, is invalid outside.
What is a static element?
What is the best c++ compiler?
What can c++ be used for?
Are c and c++ different?