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

When do you not use the keyword 'return' when defining a function a) Always b) Never c) When the function returns void d) dfd

1021


Explain what does the function toupper() do?

1017


How many levels of indirection in pointers can you have in a single declaration?

1046


Can you think of a logic behind the game minesweeper.

2426


Is c easier than java?

1006


Are bit fields portable?

1116


Suggesting that there can be 62 seconds in a minute?

1006


Why flag is used in c?

1082


please give me some tips for the placement in the TCS.

2066


How can I automatically locate a programs configuration files in the same directory as the executable?

1119


Why c is called object oriented language?

1020


How will you declare an array of three function pointers where each function receives two ints and returns a float?

1312


What is scanf_s in c?

1075


Please send me WIPRO technical question to my mail ID.. its nisha_g28@yahoo.com please its urgent

2090


What is the difference between near, far and huge pointers?

1043