#include
int main() {
int a = -1, b = -10, c = 5;
if (a > b)
printf(\"Hello World\");
else
printf(\"Get out World\");;;;;
Extra semicolons in general are not "OK".
For example, changing your code slightly:
#include
int main() {
int a = -1, b = -10, c = 5;
if (a > b)
printf("Hello World");;;;;;
else
printf("Get out World");
}
That won't even compile.
Another example, and this one does compile:
...
int done = 0;
...
while ( !done );
{
...
done = 1;
}
...