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

Some coders debug their programs by placing comment symbols on some codes instead of deleting it. How does this aid in debugging?

1118


What does & mean in scanf?

1105


The % symbol has a special use in a printf statement. Explain how would you place this character as part of the output on the screen?

1202


Is null a keyword in c?

1194


What is nested structure with example?

1070


Which header file is used for clrscr?

1051


Why c language is called c?

1010


What is #line used for?

1024


What is the difference between typedef and #define?

1054


What is array in c with example?

1248


simple program of graphics and their output display

1994


Write a program of prime number using recursion.

1082


What are the different types of control structures in programming?

1126


Describe explain how arrays can be passed to a user defined function

1094


When should we use pointers in a c program?

1130