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
Describe a interface 'Human' with methods as walk' and 'speak'. Describe a class 'User' implementing 'Human'. Describe a work() method in User class.Add a class 'Person' also execu

ECE 3550 DIGITAL DESIGN FALL 2013 Homework Assignment #8 Total: 50 pts. Due 11:30am, Wednesday, November 13, 2013 The Potential Impact of the Google Glass on Personal Computing Sea

A grammar for a programming language is a formal description of ? Structure is a formal description for a programming language.

What are the Input for UML development UML is an attempt to standardize artefacts of analysis and design consisting of semantic models, diagrams and syntactic notations. The fi

Performance Equation of computer system: Following equation is frequently used for expressing a computer's performance ability: The CISC approach tries to minimize the

This logbook should be used to record decisions, ideas, work done by your group on this assignment. Each group should keep one logbook, which must be submitted along with your sour

representation of the adjacency matrix and adjacency list

How to use messages in lists? ABAP/4  permits you to react to incorrect or doubtful user input by displaying messages that influence the program flow depending on how serious

State the term Organizational Structure. A business organization might be structured in many various ways, depending on the environment in that this operates. There are alwa

Q. Define Checkbox in html? Checkboxes are used when one or more out of the group of options is to be chosen. Building Check boxes is very similar to radio buttons. Figure expl