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
A microprocessor uses RAM chips of 1024 × 1 capacity. (i) How many chips will be required and how many address lines will be connected to provide capacity of 1024 bytes. (ii) How

What are different normalization forms? 1NF: Eliminate Repeating Groups Make a separate table for every set of related attributes, and give each table a primary key. Each fie

draw circuit diagram and the truth table that represent demultiplexer

Recombination: Therefore during the selection and mating process then the GA repeatedly lines up pairs of individuals for reproduction. Hence the next question is how to gener

The term 'page traffic' describes? Ans. Page Traffic describes the movement of pages in and out of memory.

The reason is, LINQ is used with C# or other programming languages, which needs all the variables to be declared first. From clause of LINQ query just describes the range or condit

Q. Rank the list elements in terms of distance? Rank the list elements in terms of distance from each to last element in given linear linked list. A parallel algorithm for t

What is assembly language? Assembly language : It is a family of low-level language for microprocessors, programming computers, microcontrollers etc. All are implement a symbo

Q. Illustration of a memory organization? Let's consider an illustration of a memory organization as displayed in Figure below in that main memory can store 32K words of 12 b

Simplified the Boolean Algebra (x + y)(x + z) simplifies to ? Ans. x + yz as simplified the Boolean Algebra expression. [(x + y) (x + z)] = xx + xz + xy + yz = x + xz + xy + y