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
pgm to find any error in linklist(in single linklist check whether any node points any of previous nodes instead of next node)
‘ C’ PROGRAME TO SHOW THE TYPE OF TRANGLE BY ACCEPTING IT’S LENGTH .
how to construct a simulator keeping the logical boolean gates in c
Is c is a high level language?
What is the stack in c?
What is p in text message?
How many keywords (reserve words) are in c?
What should malloc(0) do?
What is declaration and definition in c?
What would happen to X in this expression: X += 15; (assuming the value of X is 5)
What is the difference between #include and #include 'file' ?
what is bit rate & baud rate? plz give wave forms
Write a code to determine the total number of stops an elevator would take to serve N number of people.
In which layer of the network datastructure format change is done
What is the use of volatile?