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
Home Banking: E-commerce is used in Home Banking as single call or single click. Online banking (Internet banking) is a term used for performing transactions, payments etc. ove

Draw and elucidate the block diagram of programmable interrupt controller 8259. The 8259A adds 8 vectored priority encoded interrupts to microprocessor. It can be expanded to 6

Explain how a shift register can be used as a ring counter giving the wave forms at the output of the flipflops. Ans: Shift Register as a Ring Counter: A Ring Counter is a

Why IO devices cannot be directly be connected to the system bus? The IO devices cannot be directly linked to the system bus because i.  The data transfer rate of IO device

Reading Decision Trees: However we can justified by see that a link between decision tree representations and logical representations that can be exploited to make it easier t

Parallelism based on Grain size Grain size : Grain size/ Granularity are a measure that defines how much computation is involved in a process. Grain size is concluded by count

Define about Abstraction-  object oriented systems Abstraction is one of the most important ideas of object oriented systems Abstraction focus on the necessary, inherent aspec

Q. Explain Micro-operations performed by CPU? The micro-operations performed by CPU can be categorized as:    Micro-operations for data transfer from register-memory, re

what are the applications of photochemistry?

Using CICS Transaction Gateway we can join MQ Series with Power Builder 8.0