Operator overloading definition argument

in operator overloading definition

bool operator==(const Student &s)

why is the const keyword used while passing the object by reference?
if the state of object is not to be disturbed why not use this directly :

bool operator==(Student s)

we use const so that inside function it is not changed
we want to pass it as read only object

operator overloading work even if we didn’t use const but
it’s a good practice to use const

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.