c - How to define function that will called with or without parameters? -
this question has answer here:
- function overloading in c 13 answers
i need develop function in c called same definition or without parameters this:
char *fnc(???) { char *str; .... return str; } char *c1 = fnc(); char *c2 = fnc(param); how it?
this called function overloading can't in c
Comments
Post a Comment