x=5
y=x++ * x++
what will be the value of y?
Printable View
x=5
y=x++ * x++
what will be the value of y?
in my view
the answer may be 25
because here you mentioned x++ and x++ this means post increment i.e first x will be initialised with value and then x will be incremented
[QUOTE=mahesh9920;19963]x=5
y=x++ * x++
what will be the value of y?[/QUOTE]
25 x is post incremebt only