I had a very stupid doubt but I couldn't seem to understand this thing.
When I am overloading ++ operator , I need to provide int in the parameter and i can't use void. But essentially I am not using that variable as I am increasing the value of whatever is there only by a constt 1.
Why is it then, that i still need to provide and int parameter and void doesn't work ?