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

What is a null pointer assignment error? What are bus errors, memory faults, and core dumps?

1377


Which node is more powerful and can handle local information processing or graphics processing?

1256


what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;

2560


How can I read and write comma-delimited text?

1008


What is a macro, and explain how do you use it?

1015


How does pointer work in c?

1070


Is javascript based on c?

994


What is the difference between typedef struct and struct?

1063


What should malloc() do? Return a null pointer or a pointer to 0 bytes?

1013


write a program in c language to print your bio-data on the screen by using functions.

6728


How can I automatically locate a programs configuration files in the same directory as the executable?

1102


What is actual argument?

1005


Write a program to produce the following output: 1 2 3 4 5 6 7 8 9 10

15725


What is difference between structure and union with example?

989


Explain that why C is procedural?

1081