Gopi

Gopi

  • 1.1k
  • 305
  • 20.3k

If loop returns true even the condition is false?

Feb 10 2023 11:22 AM

I have two strings as follows: "[email protected]","[email protected]"

My Code is below:

if([email protected] != [email protected])

{

excecutable code here

}

 

The code inside the loop is excecuted.


Answers (3)