- 1
How are[2]=42, explain
5 Answers
+ 3
are[0] = 10;
are[1] = 1192131;
are[2] = 42;
You can put any number at are[x]
Where x is index of array.
So
print arr[0]; // output is 10
print arr[1]; // output is 1192131
+ 2
Which language are you talking about?
+ 2
https://code.sololearn.com/c1ILcu3i39o3/#cpp
Check it out.
cout<<arr[1]; //prints value
cout<<&arr[1];//prints address
- 2
it will provide you address of your array value...not value of you array
- 2
all