You are here:

C/Doubts about the C language

Advertisement


Question
Hi,

I have few doubts about the C Language.

1. Does C Language support function overloading?

2. Does it allow us to define funtions with optional parameters?

Thanks,
Nivantha.

Answer
1. Does C Language support function overloading?
Answer: As I understand from C++, function overloading is a feature where you can have the same name for more than one function, but each with different argument list.
If this is what you are expecting in C, then it is NO.

2. Does it allow us to define funtions with optional parameters?
What is the meaning of this. Can you explain with an example?

C

All Answers


Answers by Expert:


Ask Experts

Volunteer


Narendra

Expertise

I can answer questions in C related to programming, data structures, pointers and file manipulation. I use Solaris for doing C code and if you have questions related to C programming on Solaris, I will be able to help better.

Experience

6.5

Organizations belong to
Sun Microsystems

Awards and Honors
Brain Bench Certified Expert C programmer.
Advanced System Software Certified

©2012 About.com, a part of The New York Times Company. All rights reserved.