Question: 1. How is a pointer represented on your computer? How is the null pointer represented on your computer? 2. Write an array algorithm in C
1. How is a pointer represented on your computer? How is the null pointer represented on your computer?
2. Write an array algorithm in C using indexing and then change it to use explicit pointer manipulation. Compare the resulting machine instructions and then compare the run time of the two programs. Does optimization make a difference?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
