what is the use of a array in c

Answers were Sorted based on User's Feedback



what is the use of a array in c..

Answer / 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

what is the use of a array in c..

Answer / sameer

to have a collection of similar dta types in one varible

Is This Answer Correct ?    1 Yes 0 No

what is the use of a array in c..

Answer / saravanan j (srm universi

array concept is used to locate the memory allocation for
the variables

Is This Answer Correct ?    1 Yes 0 No

what is the use of a array in c..

Answer / surendra

Array is the collection of similar data types.

Is This Answer Correct ?    1 Yes 0 No

what is the use of a array in c..

Answer / abeera amin

array are data structure in which identical data type are
stored.and have contiguous area of memory.

Is This Answer Correct ?    0 Yes 0 No

what is the use of a array in c..

Answer / shruti

Array is a collection of homogeneous data-types..

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More C Interview Questions

By using C language input a date into it and if it is right?

0 Answers   Aricent,


what is mean by Garbage collection ? Please answer me. Advance thanks.

4 Answers   Excel,


what's the return value of malloc()

9 Answers  


prototype of sine function.

2 Answers   Cadence,


Give a method to count the number of ones in a 32 bit number?

4 Answers  






Determine the code below, tell me exactly how many times is the operation sum++ performed ? for ( i = 0; i < 100; i++ ) for ( j = 100; j > 100 - i; j--) sum++;

5 Answers   ITCO, Wipro,


Why can arithmetic operations not be performed on void pointers?

0 Answers  


what is the diffrenet bettwen HTTP and internet protocol

0 Answers  


Write an implementation of “float stringToFloat(char *str).” The code should be simple, and not require more than the basic operators (if, for, math operators, etc.). • Assumptions • Don’t worry about overflow or underflow • Stop at the 1st invalid character and return the number you have converted till then, if the 1st character is invalid return 0 • Don’t worry about exponential (e.g. 1e10), instead you should treat ‘e’ as an invalid character • Write it like real code, e.g. do error checking • Go though the string only once • Examples • “1.23” should return 1.23 • “1a” should return 1 • “a”should return 0

6 Answers   Qualcomm,


Q.11 Generate the following pattern using code in any language(c/c++/java) for n no. of rows 1 1 1 1 2 1 1 3 3 1 1 4 6 4 1

2 Answers  


What is difference between scanf and gets?

0 Answers  


Describe explain how arrays can be passed to a user defined function

0 Answers  


Categories