call by value and call by reference in C also difference between them - Computer science fundamental tutorial
Pointer A pointer is a variable like name with points which represents storage location in memory(RAM). Address operator(&) : - the symbol ‘&’ is an address operator which is used to access address of a variable and assign it to it to a pointer to initialize it. Indirection operator(*) : - the symbol’*’ is an indirection operator which is access the value of variable through a pointer. Pointer as function argument: - A pointer as an argument in function declaration when a function with a pointer argument is called the calling program pass the address (not the value) of a variable to the argument. In C language a function can be called by the calling programming in two ways. There are described briefly below 1. Call by value: - when a function is called by the calling program , the values to the argument in the function are supplied by the calling program. The value supplied can be used inside the function. Any alteration to the val...