What will be the output of the following program?
#include <iostream>
using namespace std;
int main() {
int a=1;
cout<<(a++)*(++a)<<endl;
return 0;
}
What will be the output of the following program?
#include <iostream>
using namespace std;
int main() {
int a=1;
cout<<(a++)*(++a)<<endl;
return 0;
}