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 / prady

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 ?    25 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is this program statement valid? INT = 10.50;

1144


Explain what is the difference between far and near ?

1101


what are the program that using a two dimensional array that list the odd numbers and even numbers separately in a given 10 inputs values

1692


How can I find out how much free space is available on disk?

1053


What is huge pointer in c?

1082


Explain bitwise shift operators?

1242


Write the Program to reverse a string using pointers.

1018


A character flag or control mechanism that delineates one data item from another a) variable b) constant c) delimiter d) call by reference

1106


What is the time and space complexities of merge sort and when is it preferred over quick sort?

1074


What are header files and what are its uses in C programming?

1228


‎How to define structures? · ‎

1080


What is getch () for?

1224


What is d scanf?

1083


How can you convert integers to binary or hexadecimal?

1023


What is const and volatile in c?

1044