Computer Science, asked by 9918khush, 8 months ago

Write a C program that does a large number of references to elements of two-dimensioned arrays,
using only subscripting. Write a second program that does the same operations but uses pointers and
pointer arithmetic for the storage-mapping function to do the array references. Compare the time
efficiency of the two programs. Which of the two programs is likely to be more reliable? Why?

Answers

Answered by Imranfaizuking
0

Answer:Write a C program that does a large number of references to elements of two-dimensioned arrays,

using only subscripting. Write a second program that does the same operations but uses pointers and

pointer arithmetic for the storage-mapping function to do the array references. Compare the time

efficiency of the two programs. Which of the two programs is likely to be more reliable? Why?

Explanation:Write a C program that does a large number of references to elements of two-dimensioned arrays,

using only subscripting. Write a second program that does the same operations but uses pointers and

pointer arithmetic for the storage-mapping function to do the array references. Compare the time

efficiency of the two programs. Which of the two programs is likely to be more reliable? Why?

Similar questions