[try Beta version]
Not logged in

 
C function overloading

Nov 16, 2010 at 11:34pm
Hi,

is there a way to overload a function in C.
Like this:

void func();

void func(int i);


Thanks!!

Molson
Nov 16, 2010 at 11:35pm
No. C does not allow function overloading.

You can do that in C++ though.
Topic archived. No new replies allowed.