4 ms·
Also, just to be clear, the removal of semicolons deliberately makes the language whitespace sensitive, right? That is, struct Foo { } foo declares a
by addaon 4y ago
Also, just to be clear, the removal of semicolons deliberately makes the language whitespace sensitive, right? That is,
struct Foo {
} foo
declares a variable of a new empty struct type, but
struct Foo {}
foo
is a syntax error?
- lerno 4y agoC3 doesn't have declaration of structs/unions in variable declarations. So both are equivalent and are syntax errors.