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

Explain 'far' and 'near' pointers in c.

891


What is 02d in c?

834


Explain two-dimensional array.

817


What is c basic?

879


What is a file descriptor in c?

801


Why c is called top down?

843


Why does not c have an exponentiation operator?

806


What is the process to generate random numbers in c programming language?

877


What is a 'null pointer assignment' error?

943


program to find error in linklist.(i.e find whether any node point wrongly to previous nodes instead of next node)

1855


What is structure in c definition?

786


When the macros gets expanded?

1078


Write a code to generate a series where the next element is the sum of last k terms.

971


Why dont c comments nest?

832


What is cohesion in c?

738