44) A random number generator was used to populate the following array: int two_
ID: 3713587 • Letter: 4
Question
44) A random number generator was used to populate the following array:
int two_dim[5][3]={1098, 3489, 89999,
-100985, 5098,-98045,
0xff98, 0x5555, -98000,
5790, 0, 0xff59,
989898, 1, 202}, *p[5],i;
for(i=0;i<5;i++)p[i]=&two_dim[i][0];
what are the following values:
a) two_dim[3][1]=?
b) p[3][2]=?
c) two_dim[0][2]-p[3][1]=?
d) p[0][0]-two_dim[0][0]=?
e) two_dim[1][2]*p[4][1]=?
Explanation / Answer
//if you have any query then comment below.please rate the answer
a) two_dim[3][1]= 0
b) p[3][2]=65369
c) two_dim[0][2]-p[3][1]= 89999
d) p[0][0]-two_dim[0][0]= 0
e) two_dim[1][2]*p[4][1]= -098045
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.