Computer Science, asked by Sahilrihan7082, 9 months ago

Consider an array int a[10]. Assume that the location of the first element is 1000 and integer takes two bytes of memory what is the location of the 5th element

Answers

Answered by pavithranatarajan855
1

Answer:

location of 5th element is 1008 & 1009 combined place.

Explanation:

For first element takes two bytes so second element stored in 1002

then 3rd in 1004,then 4th in 1006, 5th in 1008 like that go...

Similar questions