x

Choose Country Code

x

Direction

x

Ask a Question

  • Ask a Question
  • Scan a Question
  • Post MCQ
  • Note: File extension must be of jpg, jpeg, png, bmp format and file size must not exceed 5 MB
x

Ask a Question

x

x
x
x
Hire a Tutor

Answers and Solutions

What's Your Question?
Answer

Array of pointers :

                Array of pointers points to sequential collection of addresses which points to addresses of the other variables. 

         Syntax of the array of pointers is 

                               Data Type    * ptr [ index ];

Example:

          1)   int  * p1[ 5 ];

              Memory representation is as follows 

   Ptr:                 p1[0]        p1[1]        p1 [2]        p1 [3]         p1[4]

    Address :       1000         2000         3000        4000         5000

 

Address :        1000        2000        3000        4000       5000

Variable :         5               20            15              10          30

          

Post Answer and Earn Credit Points

Get 5 credit points for each correct answer. The best one gets 25 in all.

Post Answer