what is array?
Answers were Sorted based on User's Feedback
Answer / senthiltime
Array is a collection of similar data types.
| Is This Answer Correct ? | 289 Yes | 20 No |
Answer / vignesh1988i
an array ia an homogenous collections of same data types
which occupies continues memory locations .......
| Is This Answer Correct ? | 166 Yes | 31 No |
Answer / anandmayi
An array is a collection of homogenous data elements which are
stored in consecutive memory locations.Always address location
of array starts from 0.
| Is This Answer Correct ? | 143 Yes | 24 No |
Answer / yug
array is a sequential collection of elements of same data
types and those are stored in contiguous memory locations.
| Is This Answer Correct ? | 80 Yes | 15 No |
Answer / manipal singh
Array is a collection of similar data types which stored in
contiguous memory locations
| Is This Answer Correct ? | 65 Yes | 9 No |
Answer / khamseum
array is a collection of data items of same datatype
| Is This Answer Correct ? | 63 Yes | 17 No |
Answer / abilash
It is a set of elements which stored under a single name.
| Is This Answer Correct ? | 72 Yes | 30 No |
Answer / geetha gajendiran
a simple program using array
#include<stdio.h>
void main()
{
int avg,sum=0;
int i;
int pay[30];/*array declaration*/
for(i=0;i<=29;i++)
{
printf("\n enter payment:");
scanf("%d",&pay[i]);/*store data in array*/
}
for(i=0;i<=29;i++)
sum=sum+pay[i];/*read data from an array*/
avg=sum/30;
printf("\n average marks =%d",avg);
}
| Is This Answer Correct ? | 20 Yes | 2 No |
Answer / junaid a mullaji
An array is a method for storing information on multiple
devices.
By
Junaid A. Mullaji
| Is This Answer Correct ? | 50 Yes | 33 No |
Hai sir, I had planned to write the NIC scientific engineer exam , plz post the sample question......
How to swap two values using a single variable ? condition: Not to use Array and Pointer ?
When c language was developed?
Write a c program to print the even numbers followed by odd numbers in an array without using additional array
to find the program of matrix multiplication using arrays
write c program without semicolon
11 Answers MindTech, TCS, Wipro,
cin.ignore(80, _ _);This statement a) ignores all input b) ignores the first 80 characters in the input c) ignores all input till end-of-line d) iteration
when user give a number it multiply with 9 without useing '+' and '*' oprator
Why & is used in scanf in c?
What are the 5 elements of structure?
print ur name 20,000 times without using inbuilt library functions like printf,scanf,gets,puts,getchar or putchar
2)#include<iostream.h> main() { printf("Hello World"); } the program prints Hello World without changing main() the o/p should be intialisation Hello World Desruct the changes should be a)iostream operator<<(iostream os, char*s) os<<'intialisation'<<(Hello World)<<Destruct b) c) d)none of the above