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

Explain about the constants which help in debugging?

858


What are linked lists in c?

652


I have seen function declarations that look like this

606


What is double pointer in c?

593


What are pointers? What are different types of pointers?

634






Write a C++ program to generate 10 integer numbers between - 1000 and 1000, then store the summation of the odd positive numbers in variable call it sum_pos, then find the maximum digit in this variable regardless of its digits length.

1574


In a header file whether functions are declared or defined?

633


Is c# a good language?

614


can any one tel me wt is the question pattern for NIC exam

1560


Explain what are the different data types in c?

765


What are 3 types of structures?

596


Why can’t constant values be used to define an array’s initial size?

840


In C, What is the #line used for?

1073


What is logical error?

606


#include main() { int *p, *c, i; i = 5; p = (int*) (malloc(sizeof(i))); printf(" %d",*p); *p = 10; printf(" %d %d",i,*p); c = (int*) calloc(2); printf(" %d ",*c); }

633