Why doesn't C support function overloading?

Answers were Sorted based on User's Feedback



Why doesn't C support function overloading?..

Answer / 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

Why doesn't C support function overloading?..

Answer / 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

More C Interview Questions

print the palindrome numbers in between 0 to n

1 Answers  


what is the coding of display the factorial of a number using array and function?

1 Answers  


Why the below program throughs error during compilation? #include<stdio.h> #include<conio.h> enum { ZERO, ONE, TWO, }; main() { printf("%d",&TWO); getch(); }

2 Answers  


What is #include conio h?

0 Answers  


What does typedef struct mean?

0 Answers  






Given a string write a program to print all alphabetical characters in the order of their occurance first,followed by the sum of the numeric characters then followed by the special characters in the order of their occurance.

1 Answers   College School Exams Tests, Wipro,


What is a built-in function in C?

1 Answers  


how to display 2-D array elements in spiral

2 Answers  


What do you mean by a sequential access file?

0 Answers  


what does exit() do?

3 Answers   Cadence,


List the variables are used for writing doubly linked list program.

0 Answers   Infosys, Wipro,


what will be the output for the following main() { printf("hi" "hello"); }

5 Answers   RoboSoft,


Categories