1.
Suppose you declare and initialize a variable at the beginning of your program as follows:
int var;
var = 10;
What is the value of the variable
var
after the linevar = var + 20;
has been executed?
If you cannot see this codecast, please click here.
int var;
var = 10;
var
after the linevar = var + 20;
var = var - 5;
var
after this statement?
var = 100;
var = var+50;
var
after these two lines have been executed?