What will be the output of the following code?

Asked 20-Sep-2024
Updated 01-Oct-2024
Viewed 233 times

0

int x = 5; 
if (x > 3 && x < 7) 
	x++; 
else 
	x--; 
Console.WriteLine(x);

0 Answer