C Exercises

C programming exercises and examples with solutions

Basic C Programming



If-else Statements



Loops and Iteration



Arrays

👉 C program to find percentage of given subjects marks using array.
👉 C program to find largest element of array.
👉 C program to print array elements in reverse order.
👉 C program to copy the elements of one array into another array. 
👉 C program to merge two arrays sorted in descending order. 
👉 C program to add two matrices using array.
👉 C program to print subtraction of two matrices using array.
👉 C program to print multiplication of two matrices using array.
👉 C program to print given array elements in ascending order.
👉 C program to delete the element from array.
👉 C program to replace an element in an array with its position.
👉 C program to search the number from array with its position.


Pattern Programs

Star Patterns


Number Patterns

👉 Write a C program to print square number pattern 1.


 

Series Programs



Switch-Case



Functions



Pointers



Bitwise Operators



File Handling

No comments:

Post a Comment

If you have any doubts, please discuss here...👇