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 is the difference between functions abs() and fabs()?
How is a null pointer different from a dangling pointer?
What are keywords in c with examples?
What is omp_num_threads?
Explain what is the general form of a c program?
Describe static function with its usage?
What is signed and unsigned?
What are the application of void data type in c?
write a C program:There is a mobile keypad with numbers 0-9 and alphabets on it. Take input 0f 7 keys and then form a word from the alphabets present on the keys.
Write a function that will take in a phone number and output all possible alphabetical combinations
Can you explain the four storage classes in C?
Why is it important to memset a variable, immediately after allocating memory to it ?
What is scanf () in c?
application attempts to perform an operation?
Can the “if” function be used in comparing strings?