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

How can you increase the size of a statically allocated array?

0 Answers   TISL,


Find greatest number out of 10 number without using loop.

5 Answers   TCS,


What is a good data structure to use for storing lines of text?

0 Answers  


Derive the complexity expression for AVL tree?

1 Answers  


how i m write c program 1.check prime number 2.prime number series

1 Answers  






If a five digit number is input through the keyboard, write a program to print a new number by adding one to each of its digits.For example if the number that is input is 12391 then the output should be displayed as 23402

0 Answers  


int i=10; printf("%d %d %d", i, i=20, i);

0 Answers  


write an algorithm and a program to count the number of elements in a circularly singly linked list

1 Answers   Ignou,


What is the real time usage volatile?

2 Answers   Polycom,


read the folllowing code # define MAX 100 # define MIN 100 .... .... if(x>MAX) x=1; else if(x<MIN) x=-1; x=50; if the initial value of x=200,what is the vlaue after executing this code? a.200 b.1 c.-1 d.50

4 Answers   TCS,


What are the 5 data types?

0 Answers  


compare array with pointer?

1 Answers  


Categories