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 the real difference between arrays and pointers?

Answer Posted / pushpanjali panda

Arrays automatically allocate space, but can't be relocated
or resized. Pointers must be explicitly assigned to point
to allocated space (perhaps using malloc), but can be
reassigned (i.e. pointed at different objects) at will, and
have many other uses besides serving as the base of blocks
of memory.

Is This Answer Correct ?    56 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a pointer and how it is initialized?

1079


How will you divide two numbers in a MACRO?

1082


Write a program to reverse a linked list in c.

1065


What is graph in c?

1007


What is selection sort in c?

1014


What is the use of typedef in structure in c?

916


what will be maximum number of comparisons when number of elements are given?

1848


An organised method of depicting the use of an area of computer memory used to signify the uses for different parts of the memory a) swap b) extended memory c) memory map d) all of the above

1115


What are the valid places to have keyword “break”?

1037


What are 'near' and 'far' pointers?

982


Can variables be declared anywhere in c?

1033


What is a function in c?

1481


Explain what are compound statements?

993


What are the types of variables in c?

978


How do you redirect a standard stream?

1049