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 / subhrajeet sairam mohanty

2 dimension array a[row][col]; in this 'col' indicates size
of block,and 'row' indicates no. of blocks.
Compiler prefer memory unit size first rather no.of memory
units.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why main is not a keyword in c?

1258


Explain built-in function?

1137


What is the explanation for the dangling pointer in c?

1117


Why is #define used?

1275


What are the benefits of organizational structure?

1029


What are enumerated types?

1194


How to write a code for reverse of string without using string functions?

2147


What is the use of define in c?

1064


What is a header file?

1081


What is wrong with this declaration?

1109


What is hashing in c?

1165


Explain what is dynamic data structure?

1169


How can I write data files which can be read on other machines with different word size, byte order, or floating point formats?

1035


What do the functions atoi(), itoa() and gcvt() do?

1189


Differentiate between static and dynamic modeling.

1128