Gopi

Gopi

  • 1.4k
  • 272
  • 14k

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)