+ 1
Where is and how true while is used eg -while(true){//statements}
2 Antworten
+ 1
thanks sir
0
Here, the statements will continue to execute while the condition is true. Any condition returns only two values which is either true or false.
while(10 == 10) is equivalent to while(true)
while(10 > 10) is equivalent to while(false)