what is array?
Answers were Sorted based on User's Feedback
Answer / sunandan
1) In data storage, an array is a method for storing
information on multiple devices. 2) In general, an array is
a number of items arranged in some specified way - for
example, in a list or in a three-dimensional table.
3) In computer programming languages, an array is a group of
objects with the same attributes that can be addressed
individually, using such techniques as subscripting.
4) In random access memory (RAM), an array is the
arrangement of memory cells.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / seng rattana
An array is a group of program elements in the same type
stored in memory locations which can be individually
referenced by adding an index to a unique identifier.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / anoop.a.jawalkar
An Array is a fixed-size sequenced of elements of the same
data type. It is simply a grouping of like-type data. In
its simplest form, an array can be used to represent a list
of number, or a list of names.
Some useful eg:.
* List of temperatures recorded every hour in a day,or a
month, or a year.
* list of employees in an organization.
* List of products and their cost sold by a store.......
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / riyaz
array is collection of similar ans non-similar of data type
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / amitpratapsingh
array is the collection of similar elements or similar data type.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / amit
An array is a values of collaction of same data type.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / kalidasu lokesh kumar
an array can be defined as a collection of homogenious data
data items reffered by a common name.
array is derived data type............
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / amit kumar
Array is collaction of values of the same datatype.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / nikhil mahajan
array is an homogenous data items.two types of array 1. one
dimensional and two dimensional example [a],[a][a].
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / vikas thakur
array is acollection of same data type element which is
stored in cosecutive memmory
| Is This Answer Correct ? | 0 Yes | 0 No |
4.weight conversion: Write a program that will read weight in pounds and convert it into grams.print both the original weight and the converted value.There are 454 grams in a pound.design and carry out a test plan for this program.
Can we change the value of static variable in c?
#include<stdio.h> #include<conio.h> int main() { int a[4][4]={{5,7,5,9}, {4,6,3,1}, {2,9,0,6}}; int *p; int (*q)[4]; p=(int*)a; q=a; printf("\n%u%u",p,q); p++; q++; printf("\n%u%u",p,q); getch(); return 0; } what is the meaning of this program?
If fflush wont work, what can I use to flush input?
WRITE A PROGRAM TO PRINT THE FOLLOWING OUTPUTS USING FOR LOOPS. A) * B) ***** *** * * ***** * * *****
Write a program to generate the first n terms in the series --- 9,11,20,31,...,82
simple program of graphics and their output display
Write a program to replace n bits from the position p of the bit representation of an inputted character x with the one's complement. Method invertBit takes 3 parameters x as input character, p as position and n as the number of positions from p. Replace n bits from pth position in 8 bit character x. Then return the characters by inverting the bits.
void main() { int a[]={1,2,3,4,5},i; for(i=0;i<5;i++) printf("%d",a++); getch(); }
Explain how do you determine the length of a string value that was stored in a variable?
for example user gives input as " 20 or 20.0 or rs 20.0 or 20.00 or rs20 and so .. on " and the output should be stored as " rs.20.00 " in a variable
#define FALSE -1 #define TRUE 1 #define NULL 0 main() { if(NULL) puts("NULL"); else if(FALSE) puts("TRUE"); else puts("FALSE"); }