1.When do we use the following functions? (a) free ( ) (b) rewind ( ) 2. Describe an algorithm that will append the contents of one file to the end of another file. 3. Define a macro PRINT_VALUE that...

1.When do we use the following functions?

(a) free ( )


(b) rewind ( )


2. Describe an algorithm that will append the contents of one file to the end of another file.


3. Define a macro PRINT_VALUE that can be used to print two values of arbitrary type.


4. Write a nested macro that gives the minimum of three values.


5. Define a macro with one parameter to compute the volume of a sphere. Write a program


using this macro to compute the volume for spheres of radius 5, 10 and 15 metres.




May 18, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here