Professional Documents
Culture Documents
Assignment.
1. Compare structure and union with example.
2. What do you mean by call by reference? Write the algorithm and flow chart of recursion method
to find factorial number.
3. What is recursive function? Futher, for given integer n, write a program in c to find the sum of the
following series using recursion. S= 1+2+3+……….+n
4. Define data type in c. discuss primitive data types in term of memory occupied, format specifier
and range.
10. Write a program to pass an array as pointer to a function that calculates the sum of all elements
of the array