How to set values in an array cell in a heap? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to set values in an array cell in a heap?

8th Jun 2019, 10:07 AM
Cric Hadaw
Cric Hadaw - avatar
2 Answers
+ 2
do you mean something like this??? int arr[50] = {1,2,3,4,5,[47]=47,48,49,50};
8th Jun 2019, 12:54 PM
✳AsterisK✳
✳AsterisK✳ - avatar
0
I meant how to set a value to the cell array in the heap(I think if i can create a cell array in the heap then i can fill it. )
10th Jun 2019, 6:28 AM
Cric Hadaw
Cric Hadaw - avatar