Posts

Showing posts from January, 2020

c-programming.......

pointer:- A pointer is a variable that stores the address of another variable. features of pointer:-   pointer is save memory space.  The memory is accessed efficiently with the pointer is dynamically memory is allocated & De-allocated. Execution time with pointer is faster because data is manipulated with the address i.e direct access to memory location. Pointer are used with Data-Structures. *(astric) symbol is used for pointer. Declaration of pointer:- A pointer provide access to a variable by using the address of that variable. A pointer variable is therefore a variables that stores the address of another variable.         int *p; syntax:-       Data-Type *pointer name; Example:-      int pointer ptr;          #include<stdio.h>    #include<conio.h>     void main()     {     int a= 100;   ...