Advertisements
Advertisements
प्रश्न
Explain pointer Array with example.
संक्षेप में उत्तर
Advertisements
उत्तर
(1) An array is called pointer array, if each element of that array is a pointer.
(2) The variable is called as pointer variable, if it points to another variable i.e., it contains the memory address of other variable.
(3) Consider an organization, which divides its employee list into four groups, depending on certain conditions. Following figure shows the list of 4 groups. There are 15 employees and groups contain 2, 5, 4 and 4 employees respectively as
| Group 1 | Group 2 | Group 3 | Group 4 |
| Deepak | Swapnil | Rajeep | Yashwant |
| Nitin | Amit | Amol | Chintamani |
| - | Vivek | Yogesh | Kishore |
| - | Ravi | Shekhar | Rohit |
| - | Omprakash | - | - |

shaalaa.com
Basic Data Structures (Stack, Queue, Dequeue)
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
