answersLogoWhite

0

There is no such thing as function overloading in C; that is a feature of C++. Function overloading allows us to provide two or more implementations of the same function. Typically, we use function overloading so that the same function can cater for different types. For instance, we might provide one implementation that is optimised to handle an integer argument while another is optimised to handle a real argument. We can also use function overloading to provide a common implementation of a function which can then be invoked by overloads that handle the low-level type conversions.

User Avatar

Wiki User

9y ago

What else can I help you with?

Related Questions

Is it possible to do operator overloading in c?

No. Operator and/or function overloading is only a C++ thing.


Why do you use of operator overloading in c?

Overloading, Overriding, Polymorphism, Information Hiding, Inheritance all these are CONCEPTS of C++ and Java. An Object Oriented Language and not of C language. Thats why Bjarne Stroustrup came up with C++ ...


What is an operator overloading in C?

one function but multiple behaviours depending on the parameters


What is the differnce between ordinary function and template function of c language?

The c language does not have template functions. That is a c++ thing.


What has the author David Spuler written?

David Spuler has written: 'Comprehensive C' -- subject(s): C (Computer program language) 'C++ and C efficiency' -- subject(s): C++ (Computer program language), C (Computer program language)


Call by function in c language?

I guess you meant the following:'In C language, when you call a function,the parameters are passed by-value.'


What are the library function in c language?

libray in c++


What has the author Robert C Seacord written?

Robert C. Seacord has written: 'Secure coding in C and C++' -- subject(s): C (Computer program language), C++ (Computer program language), Computer security


In computer language C plus plus is related to?

C++ is related to C, the language from which it is derived.


Is it mandatory to have computer science knowledge to learn c?

In order to learn 'c' language you've the basic knowledge about Computer.


What has the author Eric P Bloom written?

Eric P. Bloom has written: 'The Turbo C++ trilogy' -- subject(s): C (Computer program language), C++ (Computer program language), Turbo C (Computer file), Turbo C++ 'Turbo C Plus Plus Trilogy' 'The C trilogy' -- subject(s): C (Computer program language)


What has the author Conor Sexton written?

Conor Sexton has written: 'Newnes C++ pocket book' -- subject(s): C (Computer program language), C++ (Computer program language) 'C pocket book' -- subject(s): C (Computer program language) 'Y2K7'