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

What is void c?

1025


How do you list files in a directory?

1090


What is the difference between break and continue?

1429


How many parameters should a function have?

1139


How many levels of pointers can you have?

1140


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

1119


What is string concatenation in c?

1042


How do c compilers work?

1064


What does p mean in physics?

1001


How can I do graphics in c?

992


what is recursion in C

1030


Is that possible to store 32768 in an int data type variable?

1040


Which is better oop or procedural?

1004


C program execution always begins with a) #include b) comment (/*-------*/) c) main() d) declaration instructions

1012


What is static memory allocation?

1119