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

printf(), scanf() these are a) library functions b) userdefined functions c) system functions d) they are not functions

634


Explain what are the advantages and disadvantages of a heap?

595


How do you write a program which produces its own source code as output?

603


write a c program thal will find all sequences of length N that produce the sum is Zero, print all possible solutions?

2405


Describe how arrays can be passed to a user defined function

776






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

613


When should a far pointer be used?

600


Which type of language is c?

642


write a C program: To search a file any word which starts with ?a?. If the word following this ?a? starts with a vowel.Then replace this ?a? with ?a? with ?an?. redirect with the output onto an output file.The source file and destination file are specified by the user int the command line.

2449


What is the use of bitwise operator?

683


Why is c platform dependent?

616


The __________ attribute is used to announce variables based on definitions of columns in a table?

669


Here is a neat trick for checking whether two strings are equal

560


Give a one-line C expression to test whether a number is a power of 2. [No loops allowed - it's a simple test.]

623


Can the curly brackets { } be used to enclose a single line of code?

709