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
How can I write a function analogous to scanf?
Explain zero based addressing.
WRITE A CODE IN C TO SEARCH A FILE FROM NOTEPAD FILE.
What is a c token and types of c tokens?
How can you read a directory in a C program?
What is the difference between c and python?
Can we change the value of static variable in c?
can we implement multi-threads in c.
What is pass by reference in c?
What do you mean by a local block?
What is indirection?
What is the symbol indicated the c-preprocessor?
a program that performs some preliminary processing in C, it acts upon certain directives that will affect how the compiler does its work a) compiler b) loader c) directive d) preprocessor
How can I get random integers in a certain range?
What are enums in c?