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

Find greatest number out of 10 number without using loop.

5 Answers   TCS,


What is the output of following program ? int main() { int x = 5; printf("%d %d %d\n", x, x << 2, x >> 2); }

5 Answers   Amazon, Qualcomm,


given post order,in order construct the corresponding binary tree

0 Answers   S-Cube, Wipro,


write a program structure to find average of given number

1 Answers  


when will be evaluated as true/ if(x==x==x) a) x=1; b) x=0; c) x=-1; d) none

7 Answers   HCL,


what will be the output of "printf("%d%d",scanf("%d% d",&a,&b))".provide an explation regarding the question

6 Answers  


Write a program to input the price of 1 burger and the number of burgers eaten by a group of friends .print the total amount to be paid by the group?

0 Answers  


in case any function return float value we must declare a) the function must be declared as 'float' in main() as well b) the function automatically returned float values c) function before declared 'float' keyword d) all the above

0 Answers  


How can I swap two values without using a temporary?

0 Answers  


Write a C program that computes the value ex by using the formula ex =1+x/1!+x2/2!+x3+3!+………….

1 Answers  


how c source file in converted to exe file

5 Answers   KPIT,


What does. int *x[](); means ?

0 Answers   Wilco,


Categories