+ 3

(Solved) What is the output of this code... , 🥺

What is the output of this code...?? Int a = 10; cout << (a == 9);

3rd Mar 2021, 4:29 PM
👑Mona Singh👑
👑Mona Singh👑 - avatar
2 Respostas
+ 3
👑Mona Singh👑 There could be two outputs - 1. Assuming by 'Int' you meant 'int', it would return false as 10 and 9 are not equal. 2. If your question is correct then this should result in an error as Int is not a datatype but int is.
3rd Mar 2021, 4:31 PM
Soumik
Soumik - avatar
+ 2
That will output true or false based on a value compared to 9
3rd Mar 2021, 4:33 PM
HBhZ_C
HBhZ_C - avatar