Use of double pointer

The double-pointer was used in the above program. So if you could please specify where and why exactly do we use double-pointer in simple terms, as I was not able to find satisfiable answers online, that simply cleared its use.
Thank you!

hello @agarwal_prachi

have u studied dynamic memory allocation?

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.

No, not very thoroughly. Though I have some fair idea. Will the doubt about what exactly is it’s use and when to use it be cleared if I cover dynamic memory allocation completely?

yeah …, u will clear idea after studying dynamic memomry allocation

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.