ARRAY
1. What do you mean by array?
Ans: It is one kind of variable which can
hold more than one same type of data and share a common name.
2. What is the meaning of the following declaration or
statements?
int dhaka[5];
Ans: The variable dhaka would
hold number of five integer type data.
DËit GLv‡b dhaka variable
5 wU interger type of data store Ki‡Z
cvi‡e| hvnv wP‡Îi mvnv‡h¨ †`Lv‡bv nj|
3. float kul[6];
Ans: The variable kul
would hold number of six float
type data.
DËit GLv‡b kul variable 6 wU float type of
data store Ki‡Z cvi‡e|
4. What is the
meaning of the statement dhaka[2] = 45; ?
Ans: dhaka is a variable of an array. It's index 2 store the number 45.
DËit GLv‡b
dhaka GKwU array variable. GB variable-Gi 2 bs index-G 45 store n‡e|
hvnv wbb¥iy‡c †`Lv‡bv hvq|


No comments:
Post a Comment