C Program to Find the Array Size

Prem Tiwari - - C Programming Tutorial


One c language student requested to write a program to find the size of an array so that I am writing this tutorial. In this program, we will share a c program which will calculate the size of an array.

c program to find the array size

In this program, we have used sizeof() function to calculate the size of an array.

Output:

The length of Array is 6


Prem Tiwari

Prem Tiwari is the founder of FreeWebMentor.com and also a professional developer and a blogger by hobby.

Tags: , , , , , , , ,

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.