Piece of Information - Variable Declaration
Main | Registration | Login | RSSWednesday, 2017-01-18, 6:57 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
«  January 2017  »
SuMoTuWeThFrSa
1234567
891011121314
15161718192021
22232425262728
293031
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: 26

Copyright MyCorp © 2017
Make a free website with uCoz