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 are different types of variables in c?

1063


How can you read a directory in a C program?

1141


Sir i need notes for structure,functions,pointers in c language can you help me please

2413


What is main () in c?

1069


Do you know the difference between exit() and _exit() function in c?

1059


Define Array of pointers.

1103


What is pointer to pointer in c?

1104


How can I call system when parameters (filenames, etc.) Of the executed command arent known until run time?

1100


How can I find out the size of a file, prior to reading it in?

1170


What are keywords c?

1027


What are actual arguments?

1083


why wipro wase

2306


pgm to find number of words starting with capital letters in a file(additional memory usage not allowed)(if a word starting with capital also next letter in word is capital cann't be counted twice)

2329


What are the types of c language?

1026


Write a program to check whether a number is prime or not using c?

1056