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 / rkv charan

Array:
1.static memory allocation.
2.array size is fixed.
3.array can't have bit fields.

structure:
1.Dynamic memory allocation.
2.structure size is changed dynamically.
3.structure can contain bit fields.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are pointers? What are stacks and queues?

1155


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

1246


How do I get a null pointer in my programs?

1115


How can I call a function with an argument list built up at run time?

1248


Create a structure to specify data on students given below: Roll number, Name, Department, Course, Year of joining Assume that there are not more than 450 students in the college. 1.write a function to print names of all students who joined in a particular year 2.write a function to print the data of a student whose roll number is given

3065


What is the use of a static variable in c?

1062


What does s c mean on snapchat?

1115


write a program to create a sparse matrix using dynamic memory allocation.

4896


Explain what is the difference between #include and #include 'file' ?

1027


Can we assign integer value to char in c?

1254


difference between object file and executable file

6729


What is null in c?

1096


In C, What is the #line used for?

2214


Can the “if” function be used in comparing strings?

1055


can any one please explain, how can i access hard disk(physical address)? it is possible by the use of far,near or huge pointer? if yes then please explain......

1890