Interview Questions

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

C Interview Questions and Answers


(Continued from previous question...)

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

It’s easier for a C compiler to generate good code for pointers than for subscripts.

(Continued on next question...)

Other Interview Questions