Piece of Information - Variable Declaration
Main | Registration | Login | RSSSaturday, 2016-12-10, 11:20 PM

PiEcE oF InFoRmAtIoNs

Site menu
Search
Statistics

Total online: 1
Guests: 1
Users: 0

Variable Declaration


We have to declare all variables and constants, before we can use them. When we declare a variable, we specify its data type. 

For example, to declare a variable with data type integer, float, and character, we simply write: 

int sum; 
float area;
char letter;

or we can group similar data type variables in one list such as:

int n1, n2, sum, diff;
float area, fah, celsius, divided;
char letter, symbol, initial;

Login form
Calendar
«  December 2016  »
SuMoTuWeThFrSa
    123
45678910
11121314151617
18192021222324
25262728293031
Site friends
CLICK BELOW THE SITE YOU WANT TO GO:

Create your own site

YAHOO Mail

FACEBOOK

GOOGLE

FRIENDSTER

Our poll
Rate my site
Total of answers: 25

Copyright MyCorp © 2016
Make a free website with uCoz