Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

What's the right way to use errno?

1098


write a c program in such a way that if we enter the today date the output should be next day's date.

2149


how to print the character with maximum occurence and print that number of occurence too in a string given ?

2419


Simplify the program segment if X = B then C ← true else C ← false

2969


Why c is called a mid level programming language?

1035


What does double pointer mean in c?

1094


What does the error message "DGROUP exceeds 64K" mean?

1180


Describe wild pointers in c?

1069


Should I learn data structures in c or python?

985


What will be your course of action for a push operation?

1063


Which are low level languages?

1053


What is the difference between memcpy and memmove?

981


What is the difference between char array and char pointer?

995


Why c language is called c?

961


What is the meaning of 2d in c?

1070