Header Ads Widget

Pointer in C

 What is Pointer ? 



    Pointer :-   Pointer in C is defined as a variable  which store the address (or prints too) some another variable .






   One of the major we of pointers is in allocating memory dynamically or run time

Declaration of Pointer ;-

                                   The syntax of a pointer is in declaration is as given below.


Example:-  Consider a print p which is print some integer  value.


Initialization of Pointer :-

                                     Any pointer variable can be Initialized using address of operator (&)

      And syntax is -



Recommended Post:

Key points:-

Cracking the coding interview:-

 Array and string:-

Tree and graph:-

Hackerearth Problems:-

Hackerrank Problems:-

Data structure:-

 MCQs:-