#include <iostream>
usingnamespace std;
// Program to explain prefix and post-fix using decrementation.
void functionOne (){
int a = 50;
int b = 60;
int c = 0;
c = (a--) + (b--);
cout << "c: " << c << endl;
cout << "a: " << a << endl;
cout << "b: " << b << endl;
cout << endl << endl;
}
void functionTwo (){
int a = 50;
int b = 60;
int c = 0;
c = (--a) + (--b);
cout << "c: " << c << endl;
cout << "a: " << a << endl;
cout << "b: " << b << endl;
}
int main(){
functionOne();
functionTwo();
return 0;
}