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...

which of 'arrays' or 'pointers' are faster?

Answer Posted / sandeep

when compared pointers work fast ,beacause:
1.array too is pointer
eg:char s[20];
gets(s);
here we are supplying base address.
2.array notation will be inter coverted as pointers
where we can directly use pointers.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

the portion of a computer program within which the definition of the variable remains unchanged a) mode b) module c) scope d) none

1060


Explain why c is faster than c++?

1073


C language questions for civil engineering

1722


What are the 3 types of structures?

1034


What is dynamic variable in c?

1034


what do you mean by enumeration constant?

1014


What is calloc in c?

1145


Explain how can I prevent another program from modifying part of a file that I am modifying?

1094


What does %c do in c?

994


What is a structure and why it is used?

1229


Find duplicates in a file containing 6 digit number (like uid) in O (n) time.

3250


Can you define which header file to include at compile time?

1022


Are pointers really faster than arrays?

1033


Write a program that accept anumber in words

1761


Are c and c++ the same?

1057