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

Explain the difference between exit() and _exit() function?

1109


What is wrong with this statement? Myname = 'robin';

1264


What are the usage of pointer in c?

1122


Is fortran still used today?

1041


How can I call system when parameters (filenames, etc.) Of the executed command arent known until run time?

1031


any C program contains only one function, it must be a) void () b) main () c) message () d) abc ()

1075


Explain what would happen to x in this expression: x += 15; (assuming the value of x is 5)

1217


What is spark map function?

1058


How are 16- and 32-bit numbers stored?

1237


When do you not use the keyword 'return' when defining a function a) Always b) Never c) When the function returns void d) dfd

1010


What is the use of #include in c?

1036


difference between native and cross compilers

2080


What are enums in c?

1116


how to solve "unable to open stdio.h and conio.h header files in windows 7 by using Dos-box software

3259


what are bit fields? What is the use of bit fields in a structure declaration?

2045