...
Similarly, do not declare a function with implicit return type. If it returns a meaningful integer value, declare it int
. If it returns no meaningful value, declare it void
.
Code Block | ||
---|---|---|
| ||
foo(void) { return UINT_MAX; } int main(void) { long long c = foo(); printf("%lld\n", c); return 0; } |
...