dec and ini

Started by
0 comments, last by arm 18 years, 8 months ago
whats the dif between variable declaration and variable initialization //variable declaration short a,b,c,d ; //variable initialization a-b-c-d-10;
Advertisement
Declaration is where you tell the compiler you are allocating/naming new variables and possibly assigning some type information to them (depending on the language).

Initialisation is where you give values to your newly allocated variables.

arm.

This topic is closed to new replies.

Advertisement