• Difficulty - Medium
    Total Plays - 21
    Allowed Time - 10 sec
    Best Time - 3.228

    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.
    Leaderboard
    User
    Rank
    Time Taken
    Nishil A

    Nishil A

    @bVcS6U3

    1
    3.228 sec
    Harshit Singhal

    Harshit Singhal

    @cnh4gZk

    2
    3.961 sec
    3
    4.571 sec