Gopi

Gopi

  • 2k
  • 162
  • 5.1k

If loop returns true even the condition is false?

Feb 10 2023 11:22 AM

I have two strings as follows: "abc@gmail.com","abc@gmail.com"

My Code is below:

if(abc@gmail.com != abc@gmail.com)

{

excecutable code here

}

 

The code inside the loop is excecuted.


Answers (3)