Why doesn't C support function overloading?

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


Please Help Members By Posting Answers For Below Questions

Why is sprintf unsafe?

619


What is the purpose of void in c?

619


What is || operator and how does it function in a program?

629


Why is void main used?

621


What are dangling pointers? How are dangling pointers different from memory leaks?

623






Is null equal to 0 in sql?

655


What is the best way of making my program efficient?

571


What are the back slash character constants or escape sequence charactersavailable in c?

686


Can math operations be performed on a void pointer?

587


What is meant by errors and debugging?

649


What are local variables c?

551


What is a header file?

638


An instruction which is analysed and acted upon by the processor prior to the compiler going its work a) directive b) constructive c) constant d) absolute mode

609


What is pointer to pointer in c language?

595


Which function in C can be used to append a string to another string?

647