Write the general syntax for the declaration of pre-increment-02404

Online Quiz This subjective question is related to the book/course vu mth718 Topics in Numerical Methods. It can also be found in vu mth718 Mid Term Solved Past Paper No. 12.

Question 1: Write the general syntax for the declaration of pre-increment and post-increment member operator function.
Answer:
Classname operator ++(); ---- pre increment
Classname operator ++(int) ---- post increment

Choose an organization

Theme Customizer

Gaussian Texture



Gradient Background