Interviews2 answers
What will be the output of given code and why -static void Main(string[] args){float i = 1.0f, j = 0.05f;while (i < 2.0f; j <= 2.0f){Console.WriteLine(i++ - ++j);}Console.ReadLine();}
2 Answers
while (i < 2.0f; j <= 2.0f) error here .."semi-colon should be replaced by any operator(and,or,not)"
Ayappan AlagesanPosted Feb 11, 2017, 7:58 PM EST
-0.04999995f
Ujjval ShuklaPosted Apr 25, 2016, 3:19 AM EDT
