Computer Science, asked by Ambikrajawat8865, 1 year ago

What is the advantage of an array over individual variables in c?

Answers

Answered by CoolParth
10
array is a collection of similar data elements with reference to one name.therefore we can store data collectively as compared to individual variables.this can also be explained using an example.
e.g.- suppose you want to store your marks in 10 subjects then it will be troublesome to create 10 variables and store marks whereas using array of 10 variables we can easily store marks.
Hoping it will help you.
Similar questions