What will be the output of the above fraction of code ?
int ++a = 100 ;

Home | Discussion Forum
Taiyari24Hour

What will be the output of the above fraction of code ?

int ++a = 100 ;
System.out.println( ++a ) ;



View More Related Question

2) Which of these can be returned by the operator & ?

3) When the operator ++ is placed after the variable name, first assignment of the value of the variable takes place and then the value of the variable is incremented, this operation is also called ………………………….. .

4) What will be the values of x, y and z after execution of the following statements?

int x, y, z;
x=9;
y=10;
z=++x=y++;

5) If j and k are int type variables, what will be the result of the expression j%k when j=10 and k=3?

UP Gk Online Test

taiyari24hour.com

Study 2 Online Says....
Kindly log in or signup.