answersLogoWhite

0

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

10y ago

What else can I help you with?

Related Questions

What is the difference between compass traversing and theodolite traversing?

Compass traversing uses a magnetic compass to determine directions, while theodolite traversing involves the use of a theodolite, which is a more precise instrument for measuring horizontal and vertical angles. Theodolite traversing provides more accurate results compared to compass traversing.


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 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 do arrays eat?

Arrays are reported to be omnivoire.


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

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


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.


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.


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.