mardi 1 septembre 2020

Can someone please clarify what this is asking me to do?

enter image description here

I understand the creation of the array (int** intptrArray[5]) and the rand() number part. However, I don't understand the sentence in the middle - I know I need to allocate the array first and then allocate each pointer in the array to an int but I'm not sure how to go about it and I've been stuck for hours on this. Do I need to use malloc here and how would I do that?




Aucun commentaire:

Enregistrer un commentaire