Array Input and Display Program


Our Blogs

c-programing.webp

Write a program for input array variable and displaying it

C Language

Publish Date: April, 25-2019

This C program demonstrates how to input and display array elements using simple loops. We are using three variables — i for looping, num for the array size, and marks as the array variable. The first loop takes input values from the user, while the second loop displays the stored elements on the screen. This program is written and executed in Turbo C++, making it ideal for beginners learning basic array handling in C programming. Arrays help store multiple values efficiently, and this example clearly explains their use in an easy, step-by-step manner.
Posted by Taresh Kumar Sahu