* Nilesh Govindarajan <cont...@nileshgr.com> [110929 13:33]:
> Default function arguments in C are specified like this:
> 
> int func(int a = 10) {} // just a dummy function

No they're not.  C doesn't have default function arguments.

> 
> Now I save that in a file called foo.c
> 
> The above piece of code is valid in C as well as C++

Uh, no it's not.

> 
> Why is this happening? O_o

Because it's not correct C.

Todd

Reply via email to