This is a discussion on difference within the C and C++ forums, part of the Programming Talk category; what is the difference between a 'declaration','declaration proto-type' and 'defination'....
|
|||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
When we have declared a variable, we have meant that we have told the compiler about the variable; i.e. its type and its name, as well as allocated a memory cell for the variable .
This latter action of the compiler, allocation of storage, is more properly called the definition of the variable. The stricter definition of declaration is simply to describe information about the variable. The prototype declaration defines its interface--how the prototype communicates with the rest of the scene and what parameters may be set for each instance of the prototype. |
![]() |
| Thread Tools | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Difference between pentium 3 and pentium... | JobHelper | Tech FAQ | 1 | 09-25-2008 04:19 PM |
| difference between winrunner 7./7.6 | zecar | Software Testing | 1 | 11-13-2006 03:32 AM |
| Linux vs. Windows web Hosting, does it make a difference? | sanereddy | Unix Articles and Tutorials | 7 | 04-23-2006 02:39 PM |
| what is difference between terminal service and remote desktop | techguru | Interview Questions | 1 | 04-17-2006 09:14 AM |
| Difference between .jar .war & .ear | ajagania | Java Tutorials | 2 | 10-21-2004 10:03 AM |