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
What do you mean by a sequential access file?
What is the use of sizeof?
How can I split up a string into whitespace-separated fields?
How do I use void main?
What are the 4 types of functions?
Given only putchar (no sprintf, itoa, etc.) write a routine putlong that prints out an unsigned long in decimal. [ I gave the obvious solution of taking % 10 and / 10, which gives us the decimal value in reverse order. This requires an array since we need to print it out in the correct order. The interviewer wasn't too pleased and asked me to give a solution which didn't need the array ].
What is wrong with this code?
What is the use of bitwise operator?
Explain what header files do I need in order to define the standard library functions I use?
What is the purpose of main( ) in c language?
What is the difference between exit() and _exit() function?
What is character constants?
What is the purpose of scanf() and printf() functions?
Tell me what are bitwise shift operators?
What is declaration and definition in c?