What is the difference between declaring a variable and defining a variable?
Declaring a variable means describing its type to the compiler but not allocating any space for it. Defining a variable means declaring it and also allocating space to hold the variable. You can also initialize a variable at the time it is defined.
Showing Answers 1 - 6 of 6 Answers
- Exploratory testing
- Difference between is and as in Oracle
- Array differences
- Composite and alloy
- Db2 data types
- What is the difference between iebgener,iebcopy and repro
- Difference between divisions and paragraphs?
- Power system
- What is the difference between potential and voltage?
- Why the size of pointer variable is 2 bytes ?
- What is difference between tcp and udp and which is preferable
- Controlled and uncontrolled redundancy
- What is the difference between unearned revenue and unbilled receivables?
- What is the difference between sequence diagram and collaboration diagram?
- What is the difference between disaster recovery at the data link layer and the transport layer?
- Semaphore variable
- C program to compare two text files
- What is the difference in C and Java ?
- Microstrategy differences
- What is the difference between a Java developer and Java designer?