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

array is collection of similar datatype. it is a static
memory allocation means we can not increment and decrement
the arry size once we allocated. and we can not increment
the base address, reassign address.

pointer is a dynamic memory allocation. we can allocate the
size as we want, assigning into another variable and base
address incrementation is allowed.

Is This Answer Correct ?    72 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How does free() know explain how much memory to release?

1052


When should we use pointers in a c program?

1130


What is operator precedence?

1200


How can a number be converted to a string?

1320


What is strcmp in c?

1114


Can a void pointer point to a function?

1018


What are the advantage of c language?

1050


What are the different types of objects used in c?

1023


Explain the advantages of using macro in c language?

993


Why main is not a keyword in c?

1250


.main() { char *p = "hello world!"; p[0] = 'H'; printf("%s",p); }

1290


Explain what is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?

1090


the constant value in the case label is followed by a a) semicolon b) colon c) braces d) none of the above

1247


What is const volatile variable in c?

1031


What is the use of getchar() function?

1125