Sobes.tech
Intern — Middle

Finding the number of elements in an array

livecode

Task condition

Create a program that calculates the number of elements in an array.

# include <iostream>

int main() {
    int arr[] = {1,2,3,4,5,6,7,8,9,10};
}