Learn basic concept of c , c++ and python programming in regularcodes.com

Spread the post

Program to find the number of elements in an array

Find number of element in an array.Suppose array are contain following element.

Stack Areamainarray [0] 1 [1] 2 [2] 3 [3] 10 [4] 4 [5] 5 [6] 6 [7] 7 [8] 8 [9] 9size (int) =10

Accepted result


Formula to get size of array

C program to find size of array.


Output


Spread the post

Recommended Posts: