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
can any one please explain, how can i access hard disk(physical address)? it is possible by the use of far,near or huge pointer? if yes then please explain......
How to establish connection with oracle database software from c language?
What are the disadvantages of external storage class?
What is 2c dna?
Which of these functions is safer to use : fgets(), gets()? Why?
What is difference between static and global variable in c?
What is volatile variable in c?
What is file in c language?
If I have a char * variable pointing to the name of a function ..
Describe the difference between = and == symbols in c programming?
How can I remove the leading spaces from a string?
Hai sir, I had planned to write the NIC scientific engineer exam , plz post the sample question......
What is the difference between NULL and NUL?
The program will first compute the tax you owe based on your income. User is prompted to enter income. Program will compute the total amount of tax owed based on the following: Income Tax 0 - $45,000 = 0.15 x income $45,001 - $90,000 = 6750 + 0.20 x (income – 45000) $90,001 - $140,000 = 15750 + 0.26 x (income – 90000) $140,001 - $200,000 = 28750 + 0.29 x (income – 140000) Greater than $200,000 = 46150 + 0.33 x (income – 200000) Dollar amounts should be in dollars and cents (float point numbers with two decimals shown). Tax is displayed on the screen.
formula to convert 2500mmh2o into m3/hr