0

#include <iostream> using namespace std; int main() { cout<<(0==0); return 0; } why the output is 1??

18th Sep 2016, 3:53 PM
Krishna Vashista
Krishna Vashista - avatar
2 Respostas
+ 5
1 is true & 0 is false... 0==0 is true, that's why the output is 1...
18th Sep 2016, 4:00 PM
Mosiur Rahman
Mosiur Rahman - avatar
+ 1
thanx
18th Sep 2016, 4:07 PM
Krishna Vashista
Krishna Vashista - avatar