Why doesn't C support function overloading?
Answers were Sorted based on User's Feedback
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 |
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 |
what is the difference between i++ and ++i?
why division operator not work in case of float constant?
Explain setjmp()?
What are the phases in s/w developed life cycle? wat is the diff b/w stack & queue...where do we use stack
how to write a c program to print list of fruits in alpabetical order?
What is masking?
What is data type long in c?
What is the time and space complexities of merge sort and when is it preferred over quick sort?
How do I declare an array of N pointers to functions returning pointers to functions returning pointers to characters?
#define min((a),(b)) ((a)<(b))?(a):(b) main() { int i=0,a[20],*ptr; ptr=a; while(min(ptr++,&a[9])<&a[8]) i=i+1; printf("i=%d\n",i);}
What is the output of below code? main() { static in a=5; printf("%3d",a--); if(a) main(); }
What are the different types of control structures in programming?