DSA Chapter 3: DSA 3
Document Summary
1. 3 array operations | deletion from array | Understanding how to delete data from a specific position will also make it easier to delete data from the beginning or end of the array. I declared an array of size 50 in the previous code, and the memory manager allocated 200 bytes of memory for this array. One variable, size, is used to determine the maximum size of the array. If the user wants to insert only 10 or 5 elements, for example, i will ask them how much size they want for the array, and this will allocate an additional 4 bytes of memory. The user will then enter the elements of the array, which will be initialized at runtime. To delete data from the array, i will ask the user from which position they want to delete the data. For example, if they want to delete data from position.