Computer Science, asked by kamranrasheed6798, 10 months ago

If an array is given of length 10 and three values are inserted in them then how to find the size of inserted values in array

Answers

Answered by choudhary21
1

Explanation:

In computer science, a dynamic array, growable array, resizable array, dynamic table, mutable array, or array list is a random access, variable-size list data structure that allows elements to be added or removed.

It is supplied with standard libraries in many modern mainstream programming languages.

Answered by Anonymous
15

Just divide the number of allocated bytes by the number of bytes of the array's data type using sizeof() . E.g. Now the count will be having the count of number of array elements which are entered.

Thnku!❤️

Similar questions