Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

C strange warning.

Name: Anonymous 2010-07-01 18:34

http://pastebin.com/3js28CTR
$> gcc main.c
If tata(char|short|float c) => warning
If tata(int|long|double c) => nothing

Does somebody could explain why exactly ? =)

Name: Anonymous 2010-07-03 7:31

(void) looks better than () because, as functions take arguments, it clearly shows that the function's arguments are a total lack of arguments, or, there is a void where arguments would otherwise be.

(), on the other hand, just looks like the arguments are yet to be specified.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List