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
In C programming, what command or code can be used to determine if a number of odd or even?
What is the right type to use for boolean values in c?
Hello. How to write a C program to check and display president party like if i type in the console "biden" and hit enter the output shoud be : "biden is democrat" and if i type "trump" and hit enter the output shoud be: "trump is republican"
What is the benefit of using const for declaring constants?
What does the && operator do in a program code?
What is a union?
What is data type long in c?
What is meant by keywords in c?
how to print the character with maximum occurence and print that number of occurence too in a string given ?
write a C program: To search a file any word which starts with ?a?. If the word following this ?a? starts with a vowel.Then replace this ?a? with ?a? with ?an?. redirect with the output onto an output file.The source file and destination file are specified by the user int the command line.
What are the types of pointers?
What are extern variables in c?
how logic is used
How can you determine the maximum value that a numeric variable can hold?
What are structure members?