Principles of Programming using C
Module 3 & 4 Assignment Questions
1. Explain the syntax of function declaration and function definition with example.
2. Define function?Explain the type of functions based on parameters.
3. Discuss the storage classes in C.
4. Define [Link] a C program to find the factorial of ‘n’ using recursion.
5. Define [Link] a C program to implement the solution of the tower of
Hanoi problem.
6. Write a C program to swap two numbers using call by reference method.
7. What is an array?Explain storing values in arrays.
8. Define an [Link] with [Link] to declare and initialize 2-D arrays.
9. Briefly explain operations on arrays.
[Link] a C program to search an element using binary search technique.
[Link] a C program to transpose a 3X3 matrix.
[Link] a C program to perform addition of 2-Dimensional matrix(consider 3X3
ordered matrices A & B).
[Link] a C program to merge two unsorted arrays.
[Link] applications of arrays.
[Link] passing arrays to functions.
[Link] [Link] the string manipulation [Link] any two with
examples.
[Link] a C program to convert characters of a string into uppercase without using
built-in function.
[Link] function to implement string operations such as compare concatenate and
string [Link] the parameter passing techniques.
[Link] a C program to find the length of a given string without using built-in
function.