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

Insert A Value At Random Indexes In A 2D Array | C Programming Example

2.7K views on YouTube

How to insert a value into random positions in a 2D array using C (where positions are random row and column indexes of the 2D array). Source code: https://github.com/portfoliocourses/c-example-code/blob/main/set_random_2d_array_indexes.c. Check out https://www.portfoliocourses.com to build a portfolio that will impress employers!