return a>b;
What is it means? We are returning a or b?
return a>b;
What is it means? We are returning a or b?
a>b is a comparison statement. all comparison statements always return either true or false(boolean value.)
so if a is greater than b, a>b will return true, otherwise false.
so return a>b will either return true or false depending on value of a and b.
thanks
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.
Ok.I got it.Thank you