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
What are different types of variables in c?
How can you read a directory in a C program?
Sir i need notes for structure,functions,pointers in c language can you help me please
What is main () in c?
Do you know the difference between exit() and _exit() function in c?
Define Array of pointers.
What is pointer to pointer in c?
How can I call system when parameters (filenames, etc.) Of the executed command arent known until run time?
How can I find out the size of a file, prior to reading it in?
What are keywords c?
What are actual arguments?
why wipro wase
pgm to find number of words starting with capital letters in a file(additional memory usage not allowed)(if a word starting with capital also next letter in word is capital cann't be counted twice)
What are the types of c language?
Write a program to check whether a number is prime or not using c?