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
Explain about the constants which help in debugging?
What are linked lists in c?
I have seen function declarations that look like this
What is double pointer in c?
What are pointers? What are different types of pointers?
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.
In a header file whether functions are declared or defined?
Is c# a good language?
can any one tel me wt is the question pattern for NIC exam
Explain what are the different data types in c?
What are 3 types of structures?
Why can’t constant values be used to define an array’s initial size?
In C, What is the #line used for?
What is logical error?
#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); }