0% found this document useful (0 votes)
14 views1 page

C Programming Principles and Assignments

The document consists of assignment questions related to programming in C, covering topics like function syntax, recursion, arrays, and string manipulation. It includes tasks such as writing C programs for factorial calculation, binary search, and matrix operations. Additionally, it addresses theoretical concepts like storage classes and applications of arrays.

Uploaded by

Suma Gawari
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views1 page

C Programming Principles and Assignments

The document consists of assignment questions related to programming in C, covering topics like function syntax, recursion, arrays, and string manipulation. It includes tasks such as writing C programs for factorial calculation, binary search, and matrix operations. Additionally, it addresses theoretical concepts like storage classes and applications of arrays.

Uploaded by

Suma Gawari
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

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.

You might also like