c - How to define function that will called with or without parameters? -


this question has answer here:

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

Popular posts from this blog

assembly - 8086 TASM: Illegal Indexing Mode -

Java, LWJGL, OpenGL 1.1, decoding BufferedImage to Bytebuffer and binding to OpenGL across classes -

javascript - addthis share facebook and google+ url -