#include <iostream>using namespace std; int main() { int n, i;i=2;n=(--i)*(++i);cout<<"n= " <<n <<"\n";cout<<"i= " <<i <<"\n"; return 0;}
Standard input is empty
n= 4 i= 2
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!