Arrays In all the programs we have done until now, to store and operate on values we have used variables. But at a point in time, a variable can hold only a single value. For example, in the following syntax: int a = 10; we are able to store only 10 in the variable a, which is a single value. It is normal in programming to work with a list of values or a group of values at once. For such purposes, variables cannot be used. So, C language provides the construct array for holding multiple values at once. Definition:
The post How to work with arrays in C – Programming appeared first on Coding Security.
How to work with arrays in C – Programming
read more
Tidak ada komentar:
Posting Komentar