Group 3
Group Members:
1. IRANKUNDA Elyssa
2. IRADUKUNDA GASHUMBA Jonathan
3. INEMA Valentine
4. ISHIMWE Amani Aime
5. IRADUKUNDA Simeon
Module: Apply blockchain fundamentals
Arrays in Solidity
In Solidity, arrays are used to store a fixed-size or dynamic collection of elements of the same type.
Arrays are similar to arrays in other programming languages, but they have specific rules and limitations
when used on the blockchain.
There are two types of arrays in Solidity:
1. Fixed-size arrays: The size of the array is determined when it is declared and cannot be changed.
2. Dynamic arrays: The size of the array can be changed at runtime (you can add or remove
elements).
Basic Array Operations in Solidity
Accessing elements: Access elements in an array using an index.
Modifying elements: Modify elements by using the index.
Push elements: Add elements using the push function.
Pop elements: Remove the last element from a dynamic array using the pop function.