answersLogoWhite

0

Array is used in C to store data of similar data type. Arrays are used when we want to store data in large quantities, e.g. if we want to store 100 numbers we have to declare 100 variables and remembering name of each variable is a very difficult task, here comes the array we can declare a single variable int num[100] now this variable can store 100 different or same numbers and can be accessed by referencing as num[0],num[1],num[2] and so on.

So, we can say that to reduce efforts we use arrays.

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

What is application of c?

Programming.


What are the applications using C programming?

One application that uses c programming is Microsoft Visual Studio 2008.


What an application can run in c but not in c?

Both C and C are programming languages, they don't run applications.


Is c an application or software?

"C" is a programming language. It is implemented by writing a program using the C syntax and then translated by a compiler, which is an application program.


Why are matrices used for representation while programming?

Let me correct you: two-dimensional arrays are used in programming to represent matrices. (Matrices are objects of mathematics, arrays are objects of programming.)


What is the benefit of the C programming languages?

C language is better for hardware programming .Most of the programming for hardware are written in C language so it is beneficial for hardware programming is not efficient for application programming due to drawback like in C data moves around the system.


Can you combine arrays in computer programming?

Yes.


What is the best mobile programming language?

Depends if it is application then : Java, c# If it is system level then : c,c++


Is C an application program?

No, it is a programming language. Or Carbon. Or 100. Or a vitamin.


Is it possible to use arrays when using the java programming language?

It is possible to use arrays when employing java programming language. There are many different series of programming choice that can be employed with various end results.


What are Strings in C programming?

Arrays of chars are strings. there is a built in librray, that handles string string.h but the data-type is held as arrays of chars. char[10] c="string"; translate to ['s','t','r','i','n','g',\0] Arrays of chars are strings. there is a built in librray, that handles string string.h but the data-type is held as arrays of chars. char[10] c="string"; translate to ['s','t','r','i','n','g',\0]


What is the required syntax for creating C arrays?

The required syntax for creating C arrays include the brackets, array size, variety length arrays, codes like std:vector, classPTR, and many more to create C arrays.