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 |
What functions are used for dynamic memory allocation in c language?
Explain what is the difference between text files and binary files?
What is the most efficient way to store flag values?
read the folllowing code # define MAX 100 # define MIN 100 .... .... if(x>MAX) x=1; else if(x<MIN) x=-1; x=50; if the initial value of x=200,what is the vlaue after executing this code? a.200 b.1 c.-1 d.50
main() { float f1=10.5; double db1=10.5 if(f1==db1) printf("a"); else printf("b") }
find the minimum of three values inputted by the user
Give the output for the following program. #define STYLE1 char main() { typedef char STYLE2; STYLE1 x; STYLE2 y; clrscr(); x=255; y=255; printf("%d %d\n",x,y); }
what is self refrential structure
what is the difference b/w compiler and debugger?
program to find the ASCII value of a number
Explain the difference between call by value and call by reference in c language?
who is first prime minister in india??