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
write a program fibonacci series and palindrome program in c
Which header file is essential for using strcmp function?
Which type of language is c?
How can I invoke another program or command and trap its output?
When should a far pointer be used?
how to capitalise first letter of each word in a given string?
What are the standard predefined macros?
What are the disadvantages of c language?
What is file in c preprocessor?
Write a program in "C" to calculate the root of a quadratic equation ax^2+bx+c=0, where the value of a,b & c are known.
Write an efficient algo and C code to shuffle a pack of cards.. this one was a feedback process until we came up with one with no extra storage.
define string ?
c program for searching a student details among 10 student details
What is a const pointer?
What is openmp in c?