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

array is faster than pointer because accessing array elements
by pointers always faster.there is used one array and more pointer.we know pointer is a "value at address".
so pointers stores only address of variable but arrays are stores similar data types.

Is This Answer Correct ?    10 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a spanning Tree?

1593


Describe dynamic data structure in c programming language?

1097


Is a pointer a kind of array?

1186


code for quick sort?

2037


This is a variation of the call_me function in the previous question:call_me (myvar)int *myvar;{ *myvar += 5; }The correct way to call this function from main() will be a) call_me(myvar) b) call_me(*myvar) c) call_me(&myvar) d) expanded memory

1271


Calculate 1*2*3*____*n using recursive function??

2042


Was 2000 a leap year?

1055


What is struct node in c?

1075


Explain what is page thrashing?

1101


Is swift based on c?

1108


Do pointers store the address of value or the actual value of a variable?

1081


What is malloc calloc and realloc in c?

1334


What is function prototype?

1146


Why C language is a procedural language?

1039


What happens if you free a pointer twice?

1087