what is the use of a array in c
Answers were Sorted based on User's Feedback
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 |
Answer / sameer
to have a collection of similar dta types in one varible
Is This Answer Correct ? | 1 Yes | 0 No |
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 |
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 |
Answer / shruti
Array is a collection of homogeneous data-types..
Is This Answer Correct ? | 0 Yes | 1 No |
Find greatest number out of 10 number without using loop.
What is the output of following program ? int main() { int x = 5; printf("%d %d %d\n", x, x << 2, x >> 2); }
given post order,in order construct the corresponding binary tree
write a program structure to find average of given number
when will be evaluated as true/ if(x==x==x) a) x=1; b) x=0; c) x=-1; d) none
what will be the output of "printf("%d%d",scanf("%d% d",&a,&b))".provide an explation regarding the question
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?
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
How can I swap two values without using a temporary?
Write a C program that computes the value ex by using the formula ex =1+x/1!+x2/2!+x3+3!+………….
how c source file in converted to exe file
What does. int *x[](); means ?