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...

Write code for initializing one dimentional and two
dimentional array in a C Program?

Answer Posted / kalpana.y

array:array is a collection of elements
one dimensional array:
code:
datatype arraysize[];
eg:
int a[5];
two-dimensional array:
code:
datatype array[rowsize][columnsize];
eg:
int a[5][5];

Is This Answer Correct ?    14 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the general form of #line preprocessor?

991


How to delete a node from linked list w/o using collectons?

2775


Which is the memory area not included in C program? give the reason

1942


What is the use of f in c?

976


What does c mean in basketball?

994


Explain how many levels deep can include files be nested?

1071


Explain 'far' and 'near' pointers in c.

1138


What are the advantages of the functions?

1158


i have a written test for microland please give me test pattern

2728


Is main is user defined function?

1139


What are the properties of union in c?

1052


Explain the Difference between the New and Malloc keyword.

1127


What is a function in c?

1573


What is data structure in c programming?

1073


Why c is faster than c++?

1026