Here's a C snippet that changes meaning:
struct foo
{
int a, b;
};
bar;
Here, bar is implicitely an int. If you omit the semicolon, bar is of type struct foo.
Type: Posts; User: CornedBee
Here's a C snippet that changes meaning:
struct foo
{
int a, b;
};
bar;
Here, bar is implicitely an int. If you omit the semicolon, bar is of type struct foo.
Basically, since whitespace doesn't really matter, what you're doing is the same as
while(...) {
}
;
You just have the loop, and then you have an empty statement.
Actually the fact that you...