1.

What Is The Difference Between Declaration And Definition?

Answer»

The declaration tells the COMPILER that at some LATER point we plan to PRESENT the definition of this declaration.
E.g.: VOID stars () //function declaration
The definition contains the actual implementation.

E.g.: void stars () // declarator { for(intj=10;j > =0;j—) //function body cout«*; cout« endl; }

The declaration tells the compiler that at some later point we plan to present the definition of this declaration.
E.g.: void stars () //function declaration
The definition contains the actual implementation.



Discussion

No Comment Found