Strange true in if() condition

This code is always prints string

void setup() {
Serial.begin(9600);
}

void loop() {
if(0 >= 600000);
{
Serial.println("WTF?");
}
}

But condition should be always FALSE.
Why it happens?

kossr:
if(0 >= 600000);

you put there a ‘;’ after the if condition

Diablillowilly:
you put there a ';' after the if condition

thank you, i'm an adiot :frowning:

Do you mean you’re an idiot? :slight_smile: If you’re able to post on the forum, you’re NOT an idiot, just part of the learning process and you’re far ahead of many posters.

outsider:
If you're able to post on the forum, you're NOT an idiot, just part of the learning process and you're far ahead of many posters.

I think by definition, the ability to post does not by itself put you ahead of any other posters. :slight_smile: The use of code tags to post code would have been a more significant sign.