The defined type of memory area where the value is stored is called variable. Variables are the data item whose values may vary during the execution of the program. A specific location or the address …
Read More »Variables
Rules for constructing variables names In C Programming Language
There are some specific rules for constructing variable names in C language: (a) Variable name may be a combination of alphabet digits or underscores and its lengths should not exceed 8 characters, some compilers allow …
Read More »What is Variable declaration In C programming Language?
All the variables must be declared before their use. It does two things: (a) Tell the compiler what the variable name is. (b) Specify what type of data that a variable will hold. Syntax of …
Read More »How to Assigning values into the Variables in C Programming Language?
To assign values to the variables, assignment operator (=) is used. Syntax of assigning values: variable declaration; Variable_name = value; Example of assigning values: Int i , j; j = 5 ; i = 0 …
Read More »What are the Scope of variables In C Programming Language?
Scope of variable means where the variable stands in the program. All variables may not necessary be available to all statements in a program. Variables can have two types of scope: a) Local: When a …
Read More »