what is array?
Answers were Sorted based on User's Feedback
Answer / raja
an array is collection of similar data types, and it
occupies the memory in a sequence of order
| Is This Answer Correct ? | 6 Yes | 4 No |
Answer / durga
Array is a group of elements of same data type.
Elements are identified by subscript or indexed.
Java follows zero(0) based indexing.
Name of the array points to the base element of the first array.
Array elements are stored continiously.
All the array elements sharing the common name.
It is an derived data type.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / kalidasan
Array is a object, it will allow to store multiple values in
one variable.
| Is This Answer Correct ? | 3 Yes | 2 No |
Answer / nitian gopal
Array is a collection of similar data, that occupies a
contiuous merory.
Syntax:
type arryname[size];
exm:
int roll[52];
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / dhaval patel
An Array is a collection of variables of the same type that
are refered to through a common name.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / saroj kumar manik
array is collection of data element in hierchical way in
computer memory.
| Is This Answer Correct ? | 1 Yes | 0 No |
wap in c to accept n number display the highest and lowest value
What is the difference between array and pointer in c?
what is the output? #define fun(a,b,t) (g ##t=(a),(a)=(b),(b)=g##t) float gfloat; main() { float a=1.12,b=3.14; fun (a,b,float); printf("na=%4.2f,b=%4.2f",a,b); } A)Error in Defining Macro B)a=1.12,b=3.14 C)a=3.14,b=1.12 D)None of the Above
3 Answers Accenture, Infosys, Wipro,
what is the difference between global variable & static variable declared out side all the function in the file.
What is the difference between ‘g’ and “g” in C?
What is enumerated data type in c?
.main() { char *p = "hello world!"; p[0] = 'H'; printf("%s",p); }
Write a program to display the no of bit difference between any 2 given numbers eg: Num1 will 12->1100 Num2 will 7->0111 the difference in bits are 2.
what is the self-referential structure?
There are N egg baskets and the number of eggs in each basket is a known quantity. Two players take turns to remove these eggs from the baskets. On each turn, a player must remove at least one egg, and may remove any number of eggs provided they all belong to the same basket. The player picking the last egg(s) wins the game. If you are allowed to decide who is going to start first, what mathematical function would you use to decide so that you end up on the winning side? Upload a C program to demonstrate the behaviour of the game.
what is ram?
How do we select the big element or any other operation from array which is read dynamically. user need to give the elements only no need to mention the size.