Front | Back |
ACTUAL PARAMETER
|
The Parameter that appears in the Function Call Statements are called Actual Parameters
|
FORMAL PARAMETER
|
The Parameter that appears in the FunctionDefinition Statements are called Formal Parameters
|
CALL BY VALUE
|
SEPERATE MEMORY ALLOCATION DUPLICATION OF VALUESCHANGES MADE IN THE FORMAL PARAMETERS ARE NOT REFLECTED BACK TO THE ORIGINAL/ ACTUAL PARAMETERS
|
CALL BY REFERENCE
|
NO SEPERATE MEMORY ALLOCATION NO DUPLICATION OF VALUESCHANGES MADE IN THE FORMAL PARAMETERS ARE REFLECTED BACK TO THE ORIGINAL/ ACTUAL PARAMETERS
|
TYPEDEF
|
IS USED TO GIVE A PSEUDO NAME FOR A PRE DEFINED DATA TYPEEG:typedef int integer;integer a=10;// int is given the name integer
|
SYMBOLIC CONSTANTS/MACRO
|
IT IS A PRE PROCESSOR DIRECTIVEEG;#define PI 3.14 // SYMBOLIC CONSTANT #define sqr(x) (x)*(x) // MACRO THE MACRO TEMPLATE IS REPLACED WITH MACRO DEFINTION AT THE TIME OF COMPILATION
|
GLOBAL VARIABLE
|
THE VARIABLES THAT ARE DEFINED ABOVE THE MAIN FUNCTION ARE CALLED GLOBAL VARIABALE,THE LIFE TIME OF THE VARIABLE IS TILL PROGRAM EXECUTION
|
LOCAL VARIABLE
|
THE VARIABLES THAT ARE DEFINED INSIDE ANY FUNCTION OR BLOCK IS CALLED LOCAL VARIABLESLIFE TIME IS WITHIN THE FUNCTION OR BLOCK
|
ARRAY
|
IS A COLLECTION OF SIMILAR DATA TYPE MEMORY IS ALLOCATED IN CONTIGUOUS BLOCK INDEXING STARTS WITH 0 AND ENDS WITH N-1
|
STRUCTURE
|
IS A COLLECTION OF DISSIMILAR DATA TYPETHEY ARE LOGICALLY RELATEDMEMORY IS ALLOCATED IN CONTIGUOUS BLOCK
|
POINTER
|
A POINTER POINTS TO ANOTHER CELL IN THE MEMORYEg:int *ptr;int a=10;ptr=&a;
|