Question: Why must a variable be declared with a data type before use? discuss with example
Why must a variable be declared with a data type before use? discuss with example
Step by Step Solution
★★★★★
3.38 Rating (148 Votes )
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Variables must be declared with a data type before use because it allows the compiler or interpreter to allocate the appropriate amount of memory and ... View full answer
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
