 Hello friends, I am Sanjay Gupta. In this video, I am going to demonstrate you how you can use array of pointers in C programming. Before starting, you can note my information, you can follow or subscribe our YouTube channel through the URL youtube.com slash sanjaygupta underscore tech school. You can download my programming app TechMS which is available on Google Play. Now I am going to demonstrate you the use of array of pointers in C programming. So for that purpose, first time including a header file that is stdi.h, then I am defining main function. Inside main function, first time declaring three variables A, B and C. So value of A is 5, B is 6 and C is 7. Now I am declaring one more variable I and then array of pointer. So similar to array of integer, we can declare array of pointer. So a single pointer can store a single address. But if you want to store more than one addresses into a single pointer, then you have to convert that pointer into array of pointer. So here you can see I have declared an array of pointer. Name of that array is P and its size is 3. So it means this P pointer can store three different addresses or you can say addresses of three different locations or three different variables. So now I am going to assign addresses. So you can see P0 will be containing address of A, P1 will be containing address of B and P2 will be containing address of C. So this way I have stored addresses of A, B and C locations into different indexes of P, array of pointer. So now I can process value of A, B and C with the help of this array of pointer. So now I am going to implement a loop which will repeat three times. And through this loop, I am going to display values of ABC on console. So here array of pointer will be displaying values of ABC on console. So I am using only array of pointer instead of ABC. So if I write this notation PO5, so this PO5 will print addresses only because at each index of this array of pointer, addresses of A, B and C are stored. Now I have to dereference those addresses so that values can be processed. So I am using asterisk sign before that notation. So here you can see PO5 is dereferenced using this asterisk symbol so that values of a particular address will be displayed on console. Now I can write return 0. So this way I have implemented small program in C programming which is demonstrating the use of array of pointer for storing addresses of different locations into a single pointer. Now I am executing this code. You can see the output 5, 6 and 7 are displayed on console. So this way I have used array of pointer for storing addresses of different locations together. You can use this array of pointer for solving any particular problem like you can add values of ABC through this array of pointer. You can apply any other operation in this array of pointer or you can say after assigning addresses of different locations. So first you have to assign addresses of individual locations into this array of pointer and then using that a single pointer you can process all these variables whose addresses are available inside this array of pointer. So I hope you have understood the advantage of array of pointer. If you want to watch more programming related videos you can follow or subscribe my YouTube channel through the URL youtube.com slash sanjaygupta underscore tech school. You can download my programming app Techimace which is available on Google Play. Thank you for watching this video.