c++
Write a C++ program to overload unary (++) operator. More specifically, create a class Increment with member variables a and b of type int. Create a function input() to take values of a and b from user. Make operator function to increment a and b by 1.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here