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

Why header files are used?

1161


What should malloc(0) do? Return a null pointer or a pointer to 0 bytes?

1133


Write a program to print “hello world” without using semicolon?

1180


Hi can anyone tell what is a start up code?

2135


List the difference between a While & Do While loops?

1152


What is main return c?

1050


FORMATTED INPUT/OUTPUT functions are a) scanf() and printf() b) gets() and puts() c) getchar() and putchar() d) all the above

1165


process by which one bit patten in to another by bit wise operation is? (a) masking, (b) pruning, (c) biting, (d) chopping,

2473


How can my program discover the complete pathname to the executable from which it was invoked?

1118


Explain the difference between #include "..." And #include <...> In c?

1088


Write a program to display all the prime nos from 1 to 1000000, your code should not take time more than a minute to display all the nos.

2127


Why doesnt that code work?

1273


How can I do peek and poke in c?

1135


What 'lex' does?

1228


Explain how do you determine whether to use a stream function or a low-level function?

1133