![]() Related Questions Latest Answer : In C++, assignment and copy construction are different because the copy constructor initializes uninitialized memory, whereas assignment starts with an existing initialized object. If your class contains instances of other classes as data members, the ... Latest Answer : Overloading is related to the use of a function or an operator. For example you can use a function for adding some integers as well as floats so this function is overloaded as it works for two different kind of inputs.
Where as overiding is in the case ... Latest Answer : When classes are inherited, we need to make the base class destructor virtual – to make sure when the object is destroyed, all the derived class destructors also called. Otherwise the derived class destructors are not called because the there is compile ... Explain "passing by value", "passing by pointer" and "passing by reference" Tags : Pointer Latest Answer : "Postincrement is usually less efficient than preincrement because it has to remember & return its original value"That is, apart from also doing the increment operation, Postincrement has to remember & return its original value.Exceptional ... Latest Answer : The return type of the printf() function is 'int'. (lot of confusion surrounding the return type of printf -- correct answer is 'int') ... Latest Answer : Do any operation symbolizing the operator in your class.you can add/subtract/multiply/divide or do any other operation for +operator() the choice is entirely yours.Freedom you see ... Latest Answer : there is no way to process an entire string.it has to be done char by char ... Latest Answer : XOR Operator is right. XOR the given bit with 1 if the bit is 1 then 0 is the o/p else 1 is the o/p. ... Latest Answer : Bitwise and - & is the correct answer. n=n & 0177 ...
Sponsored Links
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||