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




0 comments:
Post a Comment
Thanks For Your Comment. We Get Back To You As Soon As Possible.