Tell me is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?



Tell me is it better to use a pointer to navigate an array of values, or is it better to use a subsc..

Answer / Sant Singh

In general, it's more convenient and less error-prone to use the subscripted array name. However, using pointers can provide greater flexibility and performance in certain situations.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Data Structures Interview Questions

Describe the level term in a tree.

1 Answers  


Define hash table?

1 Answers  


What is the difference between 1d and 2d array?

1 Answers  


Can you please explain the difference between array_name and &array_name?

1 Answers  


write an algorithm to show the procedure of insertion into a b-tree?

1 Answers  


What is a matrix? Explain its uses with an example

1 Answers  


What is the impact of signed numbers on the memory?

1 Answers  


What are the categories of avl rotations?

1 Answers  


What is bubble insertion selection sort?

1 Answers  


Can hashset contain null?

1 Answers  


Difference between hashset and treeset?

1 Answers  


Differentiate between file and structure storage structure.

1 Answers  


Categories