this post was submitted on 14 Jun 2024
495 points (95.6% liked)
Programmer Humor
19331 readers
44 users here now
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Missing type or identifier.
A const what?
Also, I read that you have to assign a const when it is declared. Something doesn’t feel right about this statement.
Ackshually you don't need a type qualifier in C
Well, assuming you meant type specifier, at least not before C99. After that it is required. C23 explicitly states that a type specifier is required for all declarations.
If you actually meant type qualifier, then no. That was never required.
Really? TIL.
Defaults to int if I'm not mistaken.
Huh?