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

what is difference between array and structure?

Answer Posted / kirankumar

Array takes data types of same kind where as structure takes
any kind.
Ex:int n[5];/* one d array
int n[10][10];/* two d array
int n[10][10][10];/* multi d array or jagged array
Structure takes following form:
struct class
{
cahr name;
int marks;
float sbuject[3];
}stuent[100];

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what are the standard predefined macros?

1122


Can you define which header file to include at compile time?

1023


In c programming, explain how do you insert quote characters (? And ?) Into the output screen?

1249


Explain what is the difference between functions abs() and fabs()?

1188


Is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?

1096


What is the difference between scanf and fscanf?

1271


a linearly ordered set of data elements that have the same structure and whose order is preserved in storage by using sequential allocation a) circular b) ordinary c) array d) linear list

1065


What are the types of pointers?

1119


What type is sizeof?

1040


What are the 3 types of structures?

1035


What is a spanning Tree?

1597


I heard that you have to include stdio.h before calling printf. Why?

1072


Can variables be declared anywhere in c?

1095


What is nested structure in c?

1070


Why do we use & in c?

1007