while initialization of two dimensional arrays we can
initialize like a[][2] but why not a[2][] is there any
reason behind this?
Answer Posted / subhrajeet sairam mohanty
2 dimension array a[row][col]; in this 'col' indicates size
of block,and 'row' indicates no. of blocks.
Compiler prefer memory unit size first rather no.of memory
units.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Why main is not a keyword in c?
Explain built-in function?
What is the explanation for the dangling pointer in c?
Why is #define used?
What are the benefits of organizational structure?
What are enumerated types?
How to write a code for reverse of string without using string functions?
What is the use of define in c?
What is a header file?
What is wrong with this declaration?
What is hashing in c?
Explain what is dynamic data structure?
How can I write data files which can be read on other machines with different word size, byte order, or floating point formats?
What do the functions atoi(), itoa() and gcvt() do?
Differentiate between static and dynamic modeling.