0
Guys how it is going to be 6?
int a = 8; int b = ++a; if ( a > 5 ) b -=3; else b=9; console.write line(b);
4 Antworten
+ 4
b = ++a; // 9
if ( 9 > 5) true
b = 9 - 3 ; // 6
+ 2
i want to correct vipul
it must be 9>5 instead 8>5 u wrote
+ 1
@manish rawat Thank you for correction. 👍
0
int a=8;
int b= ++a;
if(b>5)
b-=3;
else
b=b
console.WriteLine(b);