Is there any difference between “and” and “&&” like in the if condition if we use && and if one of the conditions is false then will the compiler execute the other statement to see if it’s true or false?
Difference between "and" and "&&"
Hey @kunal81198
There is none. The “alternative” aspect of these operators means that they can be used to construct the exact same expressions from a semantic perspective.
Hope it helps .
If your doubt is now resolved please mark it as resolved and rate me accordingly .
Else you can further questions here .
Thankyou