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
- Coding question
- What is the difference between pinion and gear
- What is difference between ipv4 & ipv6?
- What is difference between tcp and udp and which is preferable
- What is the difference between unearned revenue and unbilled receivables?
- Exploratory testing
- Difference between is and as in Oracle
- Array differences
- Composite and alloy
- Db2 data types
- What is the difference between loop and function recursion?
- What is difference between dns & gns ?
- Controlled and uncontrolled redundancy
- 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?
- 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?
- Cash management service