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

In a switch statement, explain what will happen if a break statement is omitted?

812


How many levels of pointers have?

785


Explain how can I prevent another program from modifying part of a file that I am modifying?

847


What is uint8 in c?

865


Write a program to swap two numbers without using the third variable?

790


Explain what is page thrashing?

818


PROGRAM TO WRITE CONTENTS OF 1 FILE IN REVERSE TO ANOTHER FILE,PROGRAM TO COPY 1 FILE TO ANOTHER BY SPECIFYING FILE NAMES AS COMMAND LINE

1676


What does typeof return in c?

818


What is this infamous null pointer, anyway?

782


When do we get logical errors?

803


How many main () function we can have in a project?

854


What is the use of function overloading in C?

874


Which is an example of a structural homology?

1031


please give me some tips for the placement in the TCS.

1841


The number of bytes of storage occupied by short, int and long are a) 2, 2 and 4 b) 2, 4 and 4 c) 4, 4 and 4 d) none

975