Specify some guidelines that should be followed while overloading operators?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C++ General Interview Questions

What is the difference between the indirection operator and the address of oper-ator?

0 Answers  


What are the types of array in c++?

0 Answers  


How would you use the functions randomize() and random()?

0 Answers  


Explain the difference between class and struct in c++?

0 Answers  


int f() { int I = 12; int &r = I; r += r / 4; int *p = &r; *p += r; return I; } Referring to the sample code above, what is the return value of the function "f()"? a) 12 b) 15 c) 24 d) 17 e) 30

2 Answers   AIG, Quark,






What can I use instead of namespace std?

0 Answers  


int *p = NULL; printf("%1d",p) ; what will be the output of this above code?

3 Answers   Microsoft,


What does it mean to declare a destructor as static?

0 Answers  


How the virtual functions maintain the call up?

0 Answers  


Is c++ platform dependent?

0 Answers  


What is the use of volatile keyword in c++? Give an example.

1 Answers  


How to declare an array of pointers to integer?

0 Answers  


Categories