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 |
c program to subtract between two numbers without using '-' sign and subtract function.
Is this program statement valid? INT = 10.50;
is assignment operator is arithmatic or not
What is substring in c?
#define MAX(x,y) (x) >(y)?(x):(y) main() { inti=10,j=5,k=0; k= MAX(i++,++j); printf("%d..%d..%d",i,j,k); }
What are pointers?
0 Answers Accenture, Tavant Technologies, Zensar,
Write a C program that defines a 2-dimentional integer array called A [50][50]. Then the elements of this array should randomly be initialized either to 1 or 0. The program should then print out all the elements in the diagonal (i.e. a[0][0], a[1][1],a[2][2], a[3][3], ……..a[49][49]). Finally, print out how many zeros and ones in the diagonal.
what are the static variables
8 Answers HCL, iFlex, TCS, Wipro,
Predict the output or error(s) for the following: 25. main() { printf("%p",main); }
What is 'bus error'?
Here is a neat trick for checking whether two strings are equal
Explain the properties of union.