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
How can I display a percentage-done indication that updates itself in place, or show one of those twirling baton progress indicators?
Explain what is meant by 'bit masking'?
Why enum is used in c?
What is the correct code to have following output in c using nested for loop?
Explain how do you print only part of a string?
Why do we use null pointer?
#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); }
When should a far pointer be used?
What is sizeof array in c?
Why main is used in c?
What is the use of typedef in structure in c?
Is the exit() function same as the return statement? Explain.
How can I manipulate individual bits?
Is fortran still used today?
How do you determine the length of a string value that was stored in a variable?