What is variable initialization and why is it important?
sushants
-5
Light Poster
Recommended Answers
Jump to PostWhen you declare a variable, the compiler gets a "box" and labels it with the name of your variable.
The kind of box taken, depends on the type of your variable. The "box" will be bigger if the type is float, than in case of an int.
Let us say …
All 3 Replies
ddanbe
2,724
Professional Procrastinator
Featured Poster
MonsieurPointer
Banfa
597
Posting Pro
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.