A-M baby
This commit is contained in:
parent
764da6cbbb
commit
db842d013d
19005 changed files with 197040 additions and 7 deletions
5
Task/Function-prototype/C/function-prototype.c
Normal file
5
Task/Function-prototype/C/function-prototype.c
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
int noargs(); /* Declare a function with no arguments that returns an integer */
|
||||
int twoargs(int a,int b); /* Declare a function with no arguments that returns an integer */
|
||||
int twoargs(int ,int); /* Parameter names are optional in a prototype definition */
|
||||
int anyargs(...); /* An ellipsis can be used to declare a function that accepts varargs */
|
||||
int atleastoneargs(int, ...); /* One mandatory integer argument followed by varargs */
|
||||
Loading…
Add table
Add a link
Reference in a new issue