Return type of function get()

Shouldn’t the return type of function get() be int as it is returning a number?

hello @JaiGaur

i dont have access to quiz question.
pls share the question with me in which u hve doubt

@JaiGaur

check the return type metnioned in function, it is bool .

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.