0

How will the compiler work when we simply pass a value in if statement For eg. If(32) Cout<<"true"; Else Cout<<"false";

20th Sep 2017, 4:28 PM
dhiman mishra
dhiman mishra - avatar
1 Resposta
0
you can translate it as follows if(32!=0) cout<<"true"; else cout<<false; this outputs the same result as the example you wrote
20th Sep 2017, 4:54 PM
Kostas Batz
Kostas Batz - avatar