APP & DB
C Assign Operator
C Arithmetic Oper..
C Logical Operator
C Modulus Operator
C Initialise Variable
C Print F
C Control Flow
C If Else Statement
C Nested If Else
C While Loops
C For Loops
C Do While
C Nested Loops
Variable Declarations in C
08 jun 2020
Name of the memory location is called a variable.
Before using any variable in the program, it must be required to declare first.
Declaration of variable means required to specify data type, name of the variable followed by same-order.
In ‘c’ programming language variables required to declare on top of the programming after opening the body by writing first statement.
In declaration of d variable, name of the variable must be required to state with alphabet or underscore only.
In declaration of the variable, existing key words, operators, separators, constants are not allowed.
In declaration of the variable, max.length of variable name is 32 characters, after 32 characters compiler will not consider remaining characters.
Data Type variable or Data Type Var1, var2, var3,
When we are using multiple variables of the same data type then recommended using comma as a separator.
According to syntax, at least single space must be required b/w data type and name of the variable.