Enter Ur Email ID To Get Study Material & Latest Job Updates In Mail Inbox:
(Please activate subscription from your mail Inbox)  FeedBurner

Home » » Variables In C & Rules To Create Variable Name

Variables In C & Rules To Create Variable Name

Written By Unknown on Sunday, 16 June 2013 | 11:40 pm

Variables In C Explain With Program

Variable: A variable is used to give the name or it is a data name that is used to store the value.

Rules For Creating Variables:
1. Variables must begin with a letter.
2. The length of variable should not be more then 31 character.
3. Upper case and lower case are different. AXI is not same as axi.
4. Variable name should not a keyword.
5. Spaces and blank space are not allowed.

We have to declare the variables before using it in the paragraph declaration variables does two things:
1. It tells the compiler what the name of variable will holds.
2. It specifies what type of data variable will hold.

Ex: How To Declare Variable:
 int a,b;
float a,b,c,d,as,wwewqe, aqwqe13, asdsad;
char c,ch,a,ad;
int a=2,b=3,r=5;




Search Keyword: what is variables, explain variable in c, how to write a variable name, Rules to create variable, how to declare variable, declaration and definition of variables

 photo rsz_e-learnlogo_zpsf9bd5621.jpg
CSE-IT-LIVE-PROJECTS photo rsz_11preparation-for-a-job-interview_zps90fdf933.jpg
                                                                                                                                         

0 comments:

Post a Comment

Thanks For Your Comment. We Get Back To You As Soon As Possible.