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
What is the description for syntax errors?
Explain about C function prototype?
any C program contains only one function, it must be a) void () b) main () c) message () d) abc ()
what is the differnce between programing langauge and tool? is sas is a programing langauge r tool?
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
What is #define in c?
What is const keyword in c?
What does. int *x[](); means ?
what is a constant pointer in C
In c language can we compile a program without main() function?
Can you subtract pointers from each other? Why would you?
What are the advantages of union?
What are # preprocessor operator in c?
What is the difference between memcpy and memmove?
What are the similarities between c and c++?