answersLogoWhite

0

What is traversing arrays?

Updated: 12/13/2022
User Avatar

Wiki User

8y ago

Best Answer

Traversing an array simply means visiting every element of the array exactly once. Pointers facilitates this job. A pointer is first created to contain the base address of the array thereby pointing the first element. As the pointer is incremented, it points to the very next element and so on till the last element is visited. Thus the elements are visited sequentially in the same order as they are stored in the array.

User Avatar

Wiki User

8y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is traversing arrays?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is a multidimentional array?

Arrays having more than one dimension is known as multi-dimensional arrays. Multi-dimensional arrays is also known as arrays-of-arrays.


What is multidimentional array?

Arrays having more than one dimension is known as multi-dimensional arrays. Multi-dimensional arrays is also known as arrays-of-arrays.


What is a PHP function that can sort arrays by other arrays?

You cannot sort arrays by other arrays; that wouldn't make sense, anyway.


What is traversing by sideshots?

_ _ _ _ them all!


What is meant by the expression traversing by a binary tree?

you do anything with binary element that is traversing. insertion,deletion, accesing anything.............


What do arrays eat?

Arrays are reported to be omnivoire.


How do you delete a node in linklist without traversing?

If you don't already have a reference to the node, there is no way to avoid traversing the list to find it.


How do you find the difference between two arrays in Java?

for arrays you can list the different arrays and what attributes that you give to them.


Arrays whose size can be altered are known as?

Arrays whose size can be altered are known as dynamic arrays.


What are the types of arrays and syntax?

Arrays can be of following types.


Explain the difference between depth first and breadth first traversing techniques of a graph?

In depth first traversing, the node that is below the current node is considered first. For breadth first traversing, the node to the rightmost of the current mode is considered.


What is difference between Bac arrays and DNA arrays?

BAC (Bacterial Artificial Chromosome) arrays are a type of DNA arrays. BAC arrays are usually used for a technique called array CGH (Comparative Genomic Hybridisation) which is used to identify gross deletions or amplifications in DNA (which for example is common in cancer). DNA arrays include BAC arrays but also oligo, cDNA, and promoter arrays. Oligo and cDNA arrays are typically used for gene expression analysis (looking to see how heavily expressed each gene is). Oligo arrays can also be used for SNP (single nucleotide polymorphism) analysis. Promoter arrays are used to identify transcription factor binding sites.