Skip to content

Instantly share code, notes, and snippets.

@sonsongithub
Created September 18, 2015 06:31
Show Gist options
  • Select an option

  • Save sonsongithub/add2c06124ddd0253bbd to your computer and use it in GitHub Desktop.

Select an option

Save sonsongithub/add2c06124ddd0253bbd to your computer and use it in GitHub Desktop.
Arguments are ignored?
#include <stdio.h>
int hoge();
int main(int argc, char**argv) {
hoge(1);
printf("test\n");
return 0;
}
int hoge(void) {
printf("hoge\n");
}
@kanaya
Copy link
Copy Markdown

kanaya commented Sep 18, 2015

'int hoge()' means 'please do not check numbers and types of arguments of hoge.'

@sonsongithub
Copy link
Copy Markdown
Author

Oh... I don't know about it...
Thank you!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment