What is the difference among declaration and definition, Computer Engineering

The declaration tells the compiler that at some later point we plan to show the definition of this declaration.

E.g.: void stars () //function declaration

The definition contains the actual implementation.

E.g.: void stars () // declarator

{

for(int j=10; j > =0; j--) //function body

cout << *;

cout << endl; }   

 

 

Posted Date: 4/8/2013 5:33:48 AM | Location : United States







Related Discussions:- What is the difference among declaration and definition, Assignment Help, Ask Question on What is the difference among declaration and definition, Get Answer, Expert's Help, What is the difference among declaration and definition Discussions

Write discussion on What is the difference among declaration and definition
Your posts are moderated
Related Questions
Format functions can be used to format lot of the expressions such as money, time, date, percentages and numbers. These functions are much easier to use in VBA. User defined date,

CIH, also known  as Chernobyl or Spacefiller, is a Microsoft Windows computer virus which first emerged in 1998. It is one of the most damaging viruses, overwriting critical inform

Q. Illustrate working of Pocket and PC-Card Modems? Pocket Modems: Small external Modems used with notebook PCs.  PC-Card Modems:  PC and Modems are read with PCMCIA slots w

Ask question #Midifference between cardinality and modality nimum 100 words accepted#


Magento uses PHP as a web server scripting language and the MySQL Database. The data model is based on the Entity-attribute-value model that stores data objects in tree structures,

What is WAP? WAP is stands for Wireless Application Protocol. It is a global, open standard which gives mobile users access to Internet services by handled devices. Wireless A

Q. Determine the complete OR gate and AND gate decoder count for an IC memory with 4096 words of 1 bit each, using the Linear select memory organization and Two dimensional Memory

#what is the history of computer science

Give a solution for readers-writers problem using conditional critical regions. Solution for readers-writers problem using conditional critical regions: Conditional critical