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


Please Help Members By Posting Answers For Below Questions

Subtract Two Number Without Using Subtraction Operator

343


What's the total generic pointer type?

604


What is graph in c?

574


Tell me what is null pointer in c?

599


How can I read in an object file and jump to locations in it?

561






i have a written test for microland please give me test pattern

2170


What is sizeof return in c?

605


What is %d used for?

576


the statement while(i) puts the entire logic in loop. this loop is called a) indefinite loop b) definite loop c) loop syntax wrong d) none of the above

596


Differentiate abs() function from fabs() function.

586


What is the importance of c in your views?

582


Linked list is a Linear or non linear explain if linear how it working as a non linear data structures

1752


What are the rules for the identifier?

659


How many types of errors are there in c language? Explain

560


When I tried to go into a security sites I am denied access and a message appeared saying 'applet not initialize'. How can I rectify this problem.

1516