Wednesday, Dec 11th

Last update12:59:40 PM GMT

What does the error, invalid redeclaration of a function mean?

Write e-mail

In case of no declaration in the scope, it is assumed that a function is declared as returning an int and without any argument type information. This can lead to discrepancies if the function is later declared or defined.


Such functions must be declared before they are called. There should also be checks to see if there is another function in some other header file with the same name. 

Share this post

Web Hosting