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 is a null pointer assignment error? What are bus errors, memory faults, and core dumps?
Which node is more powerful and can handle local information processing or graphics processing?
what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;
How can I read and write comma-delimited text?
What is a macro, and explain how do you use it?
How does pointer work in c?
Is javascript based on c?
What is the difference between typedef struct and struct?
What should malloc() do? Return a null pointer or a pointer to 0 bytes?
write a program in c language to print your bio-data on the screen by using functions.
How can I automatically locate a programs configuration files in the same directory as the executable?
What is actual argument?
Write a program to produce the following output: 1 2 3 4 5 6 7 8 9 10
What is difference between structure and union with example?
Explain that why C is procedural?