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

ARRAY:- array includes same type of data types.
we dont use any keyword while defining array.
array always passed/called by reference to function.
we cant copy one array to another even though both arrays
ae of same type.
it is fixed in size.

structure:-array includes same or differnt data type
elements .
we use struct keyword while definings structure.
by default structure passed/called by value to function.
we cant copy one structure to another if both are of same
struct type and having different variabe names.
it is not fixed in size.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the auto keyword good for?

1226


What is pointer in c?

1246


Whats s or c mean?

1081


Function which gives a pointer to a binary trees const an integer value at each code, return function of all the nodes in binary tree.?

1126


can anyone suggest some site name..where i can get some good data structure puzzles???

2154


What are the advantages of external class?

1118


In c language can we compile a program without main() function?

1176


Why do some versions of toupper act strangely if given an upper-case letter?

1111


What are the advantages of using new operator as compared to the function malloc ()?

1406


What is pointer to pointer in c?

1149


Explain what is page thrashing?

1160


How do you initialize pointer variables?

1145


Tell me with an example the self-referential structure?

1075


Explain the use of fflush() function?

1129


What does %c mean in c?

1137