answersLogoWhite

0


Best Answer

Your question makes no sense, but here is a simple rule:

Public functions' declarations should be in a header file, local (or static) functions' declaration at the beginning of the source file.

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you declare a function only if undeclared anywhere else even if the somewhere else is a file included after?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the smallest number of formal parameters that can be included in a function definition in C?

You can have a function with no parameters.


Which dialog box specifies elements to be included in the function formula?

Function Arguments dialog box


On compilation a program throws an error saying a 'function should have prototype' what is wrong with the program?

One or more functions don't have a prototype. These functions should be either: - made static - have a prototype somewhere in a header (which is included into the same file)


What is included in the milky way?

other stars and somewhere in the middle there is a huge BLACK HOLE


Which header file must be included to use the function pow?

The std::pow() function can be found in the <cmath> header.


Which directory to be included to use the function exit in C?

The one with the libraries in.


What is the smallest number of formal parameters that can be included in a function definition?

1


What is the function of the readmetxt file on included on the windows 9xMe installation CD?

The function of this file is to provide information for the installment of Windows 9xMe.


How big was the largest orchestra and were included in the Guinness book?

I believe it was somewhere in the neighbourhood of 6450, but my memory is a bit foggy.


Which types of cells will be included in the COUNT function's calculations?

It will count up cells that have numbers in them.


What is the function of the Autoruninf file included on the Windows 9xMe installation CD?

To run the the program LPC


Which isn't included in the study of social sciences?

the structure and function of human body systems, A+ answers