- 1

What is the out put?

int x = 42; int num = 0; while(num < 3) { Console.WriteLine(×) num++; }

13th Feb 2017, 3:22 AM
Joel Alcantara Burgos
Joel Alcantara Burgos - avatar
4 Answers
+ 4
Whoops! Deddy is rigth.
13th Feb 2017, 3:32 AM
Nahuel
Nahuel - avatar
+ 3
The output will be: 42 42 42
13th Feb 2017, 3:26 AM
Deddy Tandean
0
thanks just saw the comment with the explanation
13th Feb 2017, 3:27 AM
Joel Alcantara Burgos
Joel Alcantara Burgos - avatar
0
After the execution of the following code,what is the output of the num? int num = 10 Console.WriteLine (num++) Console.WriteLine(++num)
7th Jun 2018, 10:15 AM
Redeem T
Redeem T - avatar