this post was submitted on 14 Jun 2024
494 points (95.7% liked)

Programmer Humor

25699 readers
1229 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

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] pipe01@programming.dev 6 points 1 year ago (3 children)

Ackshually you don't need a type qualifier in C

[–] Static_Rocket@lemmy.world 7 points 1 year ago* (last edited 1 year ago)

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.

[–] henfredemars 3 points 1 year ago (1 children)
[–] zaphod@sopuli.xyz 4 points 1 year ago

Defaults to int if I'm not mistaken.