Skip to content

PRO TIP Block youtube.com at the DNS level — Pi-hole, NextDNS or your hosts file — but allow youtube-nocookie.com and i.ytimg.com. These tutorials keep playing; the rabbit hole does not.

Learning without distractions

Return Multiple Dynamically Allocated Arrays From A Function | C Programming Example

4.7K views on YouTube

How to return multiple dynamically allocated arrays from a function in C using pointers-to-pointers. Source code: https://github.com/portfoliocourses/c-example-code/blob/main/return_multiple_dynamic.c. Check out https://www.portfoliocourses.com to build a portfolio that will impress employers!

Related videos:

Introduction to Pointers: https://www.youtube.com/watch?v=2GDiXG5RfNE

Dynamic Memory Allocation: https://www.youtube.com/watch?v=R0qIYWo8igs

Pass By Reference: https://www.youtube.com/watch?v=RecxQUUEOn4