what is the use of a array in c

Answer Posted / rohit v.kamlakar

An array is a collection of similar elements(data types).
These similar elements could be all ints, or all floats, or
all chars, etc.
In an array all elements must e of same types.

In simple language, Arrays are used to give 'one' variable
the power to hold 'more than 1' values.

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can I make sure that my program is the only one accessing a file?

680


What are the general description for loop statement and available loop types in c?

689


Explain how do you override a defined macro?

589


Why do we use pointer to pointer in c?

600


What is the difference between ++a and a++?

698






How is = symbol different from == symbol in c programming?

615


How to find a missed value, if you want to store 100 values in a 99 sized array?

820


What is array of structure in c programming?

756


write a program to copy the string using switch case?

2402


When I tried to go into a security sites I am denied access and a message appeared saying 'applet not initialize'. How can I rectify this problem.

1531


In C programming, how do you insert quote characters (‘ and “) into the output screen?

896


what is reason of your company position's in india no. 1.

1778


while loop contains parts a) initialisation, evalution of an expression,increment /decrement b) initialisation, increment/decrement c) condition evalution d) none of the above

743


How do I convert a string to all upper or lower case?

630


How do I get an accurate error status return from system on ms-dos?

650