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

what is the use of keyword volatile??

4 Answers   LG Soft,


write a program to interchange the value between two variable without using loop

1 Answers  


What is cohesion and coupling in c?

0 Answers  


44.what is the difference between strcpy() and memcpy() function? 45.what is output of the following statetment? 46.Printf(“%x”, -1<<4); ? 47.will the program compile? int i; scanf(“%d”,i); printf(“%d”,i); 48.write a string copy function routine? 49.swap two integer variables without using a third temporary variable? 50.how do you redirect stdout value from a program to a file? 51.write a program that finds the factorial of a number using recursion?

3 Answers  


Are the expressions * ptr ++ and ++ * ptr same?

0 Answers  






what is the difference between char * const and const char *?

2 Answers   TCS,


Explain how do you generate random numbers in c?

0 Answers  


Explain how many levels deep can include files be nested?

0 Answers  


What are the complete rules for header file searching?

0 Answers  


What is the condition that is applied with ?: Operator?

0 Answers  


Here is a good puzzle: how do you write a program which produces its own source code as output?

0 Answers  


What is the function of ceil(X) defined in math.h do? A)It returns the value rounded down to the next lower integer B)it returns the value rounded up to the next higher integer C)the Next Higher Value D)the next lower value

3 Answers   Accenture, Wipro,


Categories