You are on page 1of 1

ASSIGNMENT 2

(Deadline- 4 Nov 2019)

1. Write a c program to swap two numbers using call by value and call by reference method.

2. Write a function to perform factorial of a number.

3. Write a function to print Fibonacci series up to n terms.

4. Write down macros for area of rectangle and circle and implement both macros to print

area of rectangle and area of circle.

5. Write a C program to implement the concept to pointers.

You might also like