All function interfaces must be declared before they can be used. This is known as a forward declaration and is strictly enforced in C++ (but not in C). To facilitate this, interfaces are typically placed in a header file which can then be included in every source file that requires access to that function. The interface need not be defined (implemented) in the header unless the function is a template function. Typically, implementations are kept separate from interfaces (template function implementations are kept in the header but typically separated from the interface) since the interface contains everything the user needs to know in order to make use of the function.
If you are asking about member functions. When we declare a function inside a class then that function becomes member function of that class and this function can access the whole class
yes, we can not declare a function in the body of another function. but if we declare a function in the body of another function then we can call that very function only in that particular function in which it is declared; and that declared function is not known to other functions present in your programme. So if a function is required in almost all functions of your programme so you must declare it outside the main function i.e in the beginning of your programme.
I believe, you can use C-function - printf().
C: there are no methods in C. C++: no.
use the _itoa function
If you are asking about member functions. When we declare a function inside a class then that function becomes member function of that class and this function can access the whole class
yes, we can not declare a function in the body of another function. but if we declare a function in the body of another function then we can call that very function only in that particular function in which it is declared; and that declared function is not known to other functions present in your programme. So if a function is required in almost all functions of your programme so you must declare it outside the main function i.e in the beginning of your programme.
I believe, you can use C-function - printf().
C: there are no methods in C. C++: no.
use the _itoa function
In C there are functions only, In Java methodsonly (static methods as well), in C++ both.
If you declare a variable inside of any fuction (except main) it will not be available to other functions.
yes
It is not a reserved word, so can be an identifier (name of a type/variable/function).
A self-referential function in C++, or in any other supporting language, is a recursive function.
There is no such term as "building function" in C++.
C++ is easier to use as you have to learn slightly less and script slightly to make your function(s) work.