if the address of a[1,1] and a[2,1] are 1000 and 1010
respectively and each occupies 2 bytes then the array has
been stored in what order?

Answer Posted / ....................

it's order is a[5,5] because it takes 2 bytes for every
elements i.e a[1,1]=1000 a[1,2]=1002 a[1,3]=1004
a[1,4]=1006 a[1,5]=1008 a[2,1]=1010..............

Is This Answer Correct ?    49 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can I display a percentage-done indication that updates itself in place, or show one of those twirling baton progress indicators?

583


Explain what is meant by 'bit masking'?

645


Why enum is used in c?

525


What is the correct code to have following output in c using nested for loop?

614


Explain how do you print only part of a string?

651






Why do we use null pointer?

608


#include main() { enum _tag{ left=10, right, front=100, back}; printf("left is %d, right is %d, front is %d, back is %d",left,right,front,back); }

720


When should a far pointer be used?

605


What is sizeof array in c?

596


Why main is used in c?

590


What is the use of typedef in structure in c?

547


Is the exit() function same as the return statement? Explain.

665


How can I manipulate individual bits?

609


Is fortran still used today?

605


How do you determine the length of a string value that was stored in a variable?

652