What is overloading unary operator?
Answer / Madhumeeta
In C++, an operator can be overloaded to perform operations on user-defined types. Unary operators are operators that take only one operand, such as ++, --, +, -, !, etc. When a unary operator is overloaded, it operates on the single operand and returns a result.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is ostream in c++?
Explain the problem with overriding functions
Will the inline function be compiled as the inline function always? Justify.
What is the object serialization?
What is an undefined behavior and sequence points
simple c++ program for "abcde123ba" convert "ab321edcba" with out using string
what does the following statement mean? int (*a)[4]
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 the meaning of c++?
Explain the volatile and mutable keywords.
Can member functions be private?
Briefly describe a B+ tree. What is bulk loading in it?