Life is hard
You're viewing a single thread.
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.
const long pain = 1;
1L
:any
void
Maybe...
const pain = Infinity
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?