Comparative function - bool compare()

  1. sir is bool a keyword like void or something else ?
  2. is compare a keyword or sometho=ing else?

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 :slight_smile:

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

:grinning:

1 Like