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


Please Help Members By Posting Answers For Below Questions

What is the description for syntax errors?

600


Explain about C function prototype?

593


any C program contains only one function, it must be a) void () b) main () c) message () d) abc ()

681


what is the differnce between programing langauge and tool? is sas is a programing langauge r tool?

1887


Hai,I have done with my bachelor of commerce and planing to ms,please suggest me how to convince vo for shifting from commerce to computers. Visa on 8 DEC 2014  Npu university

1584






What is #define in c?

605


What is const keyword in c?

728


What does. int *x[](); means ?

621


what is a constant pointer in C

651


In c language can we compile a program without main() function?

559


Can you subtract pointers from each other? Why would you?

547


What are the advantages of union?

615


What are # preprocessor operator in c?

615


What is the difference between memcpy and memmove?

583


What are the similarities between c and c++?

585