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 / vignesh1988i
the main reason behind this is that, if we specify the
columns instead of rows we can easily find out the number of
rows in the matrix...... but if we give just row number we
cant predict the number of columns...... that's why !!!!!!
thnak u
| Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
What's the right way to use errno?
write a c program in such a way that if we enter the today date the output should be next day's date.
how to print the character with maximum occurence and print that number of occurence too in a string given ?
Simplify the program segment if X = B then C ← true else C ← false
Why c is called a mid level programming language?
What does double pointer mean in c?
What does the error message "DGROUP exceeds 64K" mean?
Describe wild pointers in c?
Should I learn data structures in c or python?
What will be your course of action for a push operation?
Which are low level languages?
What is the difference between memcpy and memmove?
What is the difference between char array and char pointer?
Why c language is called c?
What is the meaning of 2d in c?