(Solved) What is the output of this code... , šŸ„ŗ | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 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