+ 3
Anyone can guide me how the following statement executes
bool result=true; if(result) { cout<<"true"; }
5 Respuestas
+ 5
if statement tests for true condition
so if(result) is the same as writing if(result == true)
+ 5
You are welcome!
+ 4
if result is true print true
+ 2
is it mean condition is true then it it true?
+ 2
Thanks Bro.