1.

An integer arry of size 10 is declared in a c program. The memory locàtion of the first byte of the array is 1000.what will be the location of the 7th element of the array? (Integer tàkes 2bytes of memory) A)1014 B)1012 C)1010 D)1016

Answer»

A) 1014This is because 1st element's MEMORY LOCATION is 1000.2nd element's memory location is 1000+2=10023rd element's memory location is 1002+2=10044th element's memory location is 1004+2=1006and so on...Thus , 7TH element's memory location is 1012+2=1014PLS MARK IT BRAINLIEST!



Discussion

No Comment Found