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 / vignesh1988i

always the 2D array will be stored in column order only , in
C.... so only ,
it is a must that we must specify the column subscript
however we miss the row subscript.....

thank u

Is This Answer Correct ?    7 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how is the examination pattern?

1693


What is keyword in c?

701


Write a program with dynamically allocation of variable.

708


Explain Function Pointer?

776


Is python a c language?

651






What is floating point constants?

787


What is the size of a union variable?

685


Can you please explain the difference between strcpy() and memcpy() function?

704


What does 1f stand for?

720


Explain the difference between strcpy() and memcpy() function?

679


Write a program to print numbers from 1 to 100 without using loop in c?

749


Explain how to reverse singly link list.

703


How does sizeof know array size?

734


How do you determine whether to use a stream function or a low-level function?

770


Sir,please help me out with the code of this question. Write an interactive C program that will encode or decode multiple lines of text. Store the encoded text within a data file, so that it can be retrieved and decoded at any time. The program should include the following features: (a) Enter text from the keyboard, encode the text and store the encoded text in a data file. (b) Retrieve the encoded text and display it in its encoded form. (c) Retrieve the encoded text, decode it and then display the decoded text. (d) End the computation. Test the program using several lines of text of your choice.

1871