C Programming Unit Wise Questions
C Programming Unit Wise Questions
Programming Questions:
1. Write a C program to demonstrate the use of all arithmetic operators and their
precedence.
2. Create a program to convert temperature from Celsius to Fahrenheit using
appropriate data types.
3. Write a program to calculate simple interest using formatted input and output
operations.
4. Develop a program to demonstrate implicit and explicit type conversion.
Programming Questions:
1. Write a program to check whether a given number is prime using appropriate
control structures.
2. Develop a program to print Floyd’s triangle using nested loops.
3. Create a program to find factorial of a number using both iterative and recursive
approaches.
4. Write a program to demonstrate the use of goto statement and explain why it
should be avoided.
Programming Questions:
1. Write a program to perform matrix multiplication using 2D arrays.
2. Develop a program to sort an array using bubble sort algorithm.
3. Create a program to perform common string operations without using built-in
functions.
4. Write a program to check if a given string is palindrome.
Programming Questions:
1. Write a program to find GCD of two numbers using recursive functions.
2. Develop a program to demonstrate pointer arithmetic and array access using
pointers.
3. Create a program to implement dynamic memory allocation for matrix operations.
4. Write a function to swap two numbers using pointers.
Programming Questions:
1. Write a program to maintain student records using structures and perform
operations like add, delete, and display.
2. Develop a program to read data from one file and write it to another file.
3. Create a program to demonstrate random access in files using fseek().
4. Write a program to implement a basic address book using structures and file
handling.