- sir is bool a keyword like void or something else ?
- is compare a keyword or sometho=ing else?
Comparative function - bool compare()
Hey @prerak_semwal
Yes bool is a keyword
Actually its a datatype like int , float etc
so it can have two values true or false
Compare is function name and its not a keyword
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.
yes i got it
1 Like