Search:

Type: Posts; User: CornedBee

Search: Search took 0.06 seconds.

  1. Replies
    20
    Views
    6,012

    Here's a C snippet that changes meaning: ...

    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.
  2. Replies
    20
    Views
    6,012

    Basically, since whitespace doesn't really...

    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...
Results 1 to 2 of 2