Difficulty -
Medium
Total Plays - 8
Allowed Time - 10 sec
Best time - 4.571 sec
Which operation resets a dynamic array length to zero?
#A
#B
#C
#D
Explanation:
Using delete on a dynamic array sets its length to zero. Storage slots may remain allocated but become inaccessible through the array.