Skip to main content

Introduction to Arrays


Introduction to Arrays

In this part you will learn: 1. C syntax 2. Arrays 3. Showing output In this tutorial I will teach you about Arrays. Arrays are of extreme importance and use in C. Arrays are used when you want to create many variables of the same data type. Like if you want to note the grades of 100 students in a class you cannot take hundred character variables. It will be very lengthy and a not very good code. For this thing we use array. What we do is we just create an array of 100 spaces of character type. Like char array[100]. Arrays Basic Step: Open Dev C++ then File

Add new comment

File attachments