retagged by
75 views
0 votes
0 votes
let suppose address of first index of array is n and size of each block of array is u. then the index of second element is a+u.

let suppose the array has m elements.

what will be the address of the third element of another array of same size, if it's address of second last element is (n - u).
retagged by

Please log in or register to answer this question.

Related questions

3 votes
3 votes
2 answers
1
pawan kumarln asked Jul 29, 2017
2,006 views
a)why base address of array can not be change but string constant base address can be change???b)why content of array can be change but string constant content can not be...
0 votes
0 votes
2 answers
2
Debargha Mitra Roy asked Apr 16
174 views
#include <stdio.h int main() { int a[3] = {1, 3, 5, 7, 9, 11}; int *ptr = a[0]; ptr += sizeof(int); printf("%d", *ptr); return 0; }(Assume size of int to be $2$ bytes.)T...
7 votes
7 votes
1 answer
3
1 votes
1 votes
1 answer
4
Mrityudoot asked Feb 2
335 views
In what cases does an uninitialized array have values = 0 and for which cases does it have values = garbage values. How to differentiate?