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 / parul_kul
The order of array cannot be defined as we dont know the
max size of the array. however we can calculate the column
subscript of the array as follows-
a[1,1] = 1000, a[1,2] = 1002, a[1,3] = 1004, a[1,4] =
1006, a[1,5] = 1008.
After this the 2nd row will start as a[2,1] = 1010, and so
on.
So we can define the no. of columns, i.e. 5, in this array
but not the no. of rows.
Is This Answer Correct ? | 14 Yes | 2 No |
Post New Answer View All Answers
How can my program discover the complete pathname to the executable from which it was invoked?
How can I call fortran?
What is function what are the types of function?
In C programming, what command or code can be used to determine if a number of odd or even?
What is a null pointer in c?
Devise a program that inputs a 3 digit number n and finds out whether the number is prime or not. Find out its factors.
hello freinds next week my interview in reliance,nybody has an idea about it intervew questions..so tell
hw can we delete an internal node of binary search tree the internal node has child node..plz write progarm
Explain void pointer?
How to set file pointer to beginning c?
What are the disadvantages of external storage class?
What is break in c?
What is the use of getchar functions?
What does p mean in physics?
Explain how can I prevent another program from modifying part of a file that I am modifying?