Why doesn't C support function overloading?

Answer Posted / hrpynux@gmail.com

Function Overloading allows us to have multiple functions with the same name but with different function signatures in our code. These functions have the same name but they work on different types of arguments and return different types of data. ... Therefore, C does not support function overloading.

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I send escape sequences to control a terminal or other device?

816


while initialization of array why we use a[][2] why not a[2][]...?

2080


What are the ways to a null pointer can use in c programming language?

856


Explain what is page thrashing?

819


Are c and c++ the same?

792


Is this program statement valid? INT = 10.50;

891


What is an identifier?

794


What is struct node in c?

800


What are static variables in c?

804


Explain the difference between exit() and _exit() function?

888


When do we get logical errors?

811


I have a varargs function which accepts a float parameter?

785


What is hash table in c?

765


Can we change the value of #define in c?

767


Explain how can I open a file so that other programs can update it at the same time?

856