How would you differentiate between a pre and post increment operators while overloading?
Page 1 of 1
How would you differentiate between a pre and post increment operators while overloading?
Mentioning the keyword int as the second parameter in the post increment form of the operator++() helps distinguish between the two forms.
Similar topics
» Overriding vs. overloading
» Differentiate between class and structure.
» Differentiate between late binding and early binding. What are the advantages of early binding?
» Differentiate between an external iterator and an internal iterator? What is the advantage of an external iterator.
» Differentiate between class and structure.
» Differentiate between late binding and early binding. What are the advantages of early binding?
» Differentiate between an external iterator and an internal iterator? What is the advantage of an external iterator.
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|