Is it legal in c++ to overload operator++ so that it decrements a value in your class?


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

Post New Answer

More C++ General Interview Questions

How to avoid changing constant values?

2 Answers   Symphony,


Write is a binary search tree? Write an algo and tell complexity?

0 Answers   Axtria,


How do you establish an is-a relationship?

0 Answers  


Do you know what are the new features that iso/ansi c++ has added to original c++ specifications?

0 Answers  


What's the order in which the local objects are destructed?

0 Answers  






What is #include iomanip?

0 Answers  


How can a called function determine the number of arguments that have been passed to it?

0 Answers  


What is recursion?

0 Answers  


Must accepts "Maestro Cards" Tax for bike should be less than 15 Total number of lanes is more than 10 Must provides monthly pass Write a method: boolean isGoodTollBridge(String[] cardsAccepted, String[] tollTax, boolean hasMonthlyPass, int numberOfLanes); String[] cardsAccepted A String array of names of card types accepted for payment of toll tax, it can be null if the toll does not accept any card String[] tollTax A String array of toll tax chart (say “Train : 300”,”BullCart : 10”) boolean hasMonthlyPass This parameter defines whether there is any monthly pass available or not int numberOfLanes This parameter defines the number of lanes for each side

0 Answers   Telecom,


Do the parentheses after the type name make a difference with new?

0 Answers  


Difference between strdup and strcpy?

0 Answers  


What is the limitation of cin while taking input for character array?

0 Answers  


Categories