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 40 characters also. (b) The first character must be an alphabet. (c) No comma, blank spaces are allowed in variable …

Rules for constructing variables names In C Programming Language 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 variable is declared inside the function then such a variable is known as local variable. A local variable can only …

What are the Scope of variables In C Programming Language? Read More »