Pointer Lab
Compile all these programs using gcc progName.c -o progName
. Then execute progName
- Download the following program
and modify it as directed.
- Download the following program
and modify it as directed.
- In the previous program, modify the function getData so that 4
values are read, instead of 3. What effect do you think this will have?
Verify that your intuition is right.
Solution
Solution