123456789101112131415161718192021
#include <iostream> #include <stdlib.h> using namespace std; int main () { int xx, yy, newxx, newyy; xx=11; yy=22; xx=newxx; yy=newyy; xx=newyy; yy=newxx; cout<<xx<<endl; cout<<yy<<endl; system ("PAUSE"); return 0; }
123456
int xx; int newxx; xx=11; xx = newxx;
value of xx is not defined value of newxx is not defined xx is now 11 xx is now same as newxx, i.e. not defined