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 / prady
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 ? | 25 Yes | 1 No |
Post New Answer View All Answers
Is this program statement valid? INT = 10.50;
Explain what is the difference between far and near ?
what are the program that using a two dimensional array that list the odd numbers and even numbers separately in a given 10 inputs values
How can I find out how much free space is available on disk?
What is huge pointer in c?
Explain bitwise shift operators?
Write the Program to reverse a string using pointers.
A character flag or control mechanism that delineates one data item from another a) variable b) constant c) delimiter d) call by reference
What is the time and space complexities of merge sort and when is it preferred over quick sort?
What are header files and what are its uses in C programming?
How to define structures? ·
What is getch () for?
What is d scanf?
How can you convert integers to binary or hexadecimal?
What is const and volatile in c?