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
Explain how can you tell whether two strings are the same?
How many levels of pointers have?
Write a program to replace n bits from the position p of the bit representation of an inputted character x with the one's complement. Method invertBit takes 3 parameters x as input character, p as position and n as the number of positions from p. Replace n bits from pth position in 8 bit character x. Then return the characters by inverting the bits.
What do you understand by friend-functions? How are they used?
What is chain pointer in c?
How can I write functions that take a variable number of arguments?
Is javascript written in c?
Why do we use header files in c?
Is register a keyword in c?
Place the #include statement must be written in the program?
What is the difference between single charater constant and string constant?
write a program to find out prime number using sieve case?
Can you return null in c?
what is the differnce between programing langauge and tool? is sas is a programing langauge r tool?
why we wont use '&' sing in aceesing the string using scanf