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

how to find anagram without using string functions using only loops in c programming

3232


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

1069


Why C language is a procedural language?

1093


What are extern variables in c?

1035


which is an algorithm for sorting in a growing Lexicographic order

1861


What is #include cctype?

1175


Explain what math functions are available for integers? For floating point?

1159


What is the mean of function?

1190


What is difference between structure and union?

1190


What’s the special use of UNIONS?

1205


Explain what is the general form of a c program?

1138


Is there a way to compare two structure variables?

1169


What is array in C

1209


What are different types of operators?

1095


Difference between malloc() and calloc() function?

1267