which of 'arrays' or 'pointers' are faster?

Answer Posted / narendra

arrays are very faster because it stores a sequential


block of memory and similar data types

pointers stores only adders of variable

but arrays are stores similar data types

Is This Answer Correct ?    9 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are structure members?

601


What is the use of extern in c?

651


What is the difference between #include and #include 'file' ?

610


using for loop sum 2 number of any 4 digit number in c language

1738


How can I recover the file name given an open stream or file descriptor?

600






What is switch in c?

652


If i have an array 0 to 99 i.e,(Size 100) I place the values 1 to 100 randomly like a[0]=29,a[1]=56 upto array[99].. the values are only between 1 to 100. getting the array values by using scanf.. If i entered one wrong element value line a[56]=108. how can i find it.. and also how to find the missing value in 1 to 100.. and i want to replace the missing values.. any one of them know please post your answer..

1598


What is union in c?

643


Should a function contain a return statement if it does not return a value?

602


what do the 'c' and 'v' in argc and argv stand for?

651


What is assignment operator?

630


What is difference between function overloading and operator overloading?

664


With the help of using classes, write a program to add two numbers.

622


What is formal argument?

654


What are bitwise shift operators in c programming?

650