Here are some C Programming exercises to help you hone your skills as a programmer!
- “Hello, World!” Program in C
- Demonstrate the Working of Keyword long in C
- Find the Size of int, float, double and char in C
- Compute Quotient and Remainder in C
- Print an Integer in C
- Multiply Two Floating-Point Numbers in C
- Add Two Integers in C
- Find ASCII Value of a Character in C
- Check Whether a Number is Even or Odd in C
- Swap Numbers in C
- Check whether a Character is a Vowel or Consonant in C
- Find the Largest Number Amongst Three Numbers in C
- Find the Roots of a Quadratic Equation in C
- Check Leap Year in C
- Check whether a Number is Positive or Negative in C
- Check whether a Character is an Alphabet or not in C
- Calculate the Sum of Natural Numbers in C
- Generate Multiplication Table in C
- Calculate Factorial of a Number in C
- Display Fibonacci Sequence in C
- Calculate GCD of Two Numbers in C
- Calculate LCM of Two Numbers in C
- Print English Alphabet in C
- Count the Number of Digits in an Integer in C
- Reverse a Number in C
- Calculate the Power of a Number in C
- Check Whether a Number is Palindrome or Not in C
- Check Whether a Number is Prime or Not in C
- Display Prime Numbers Between Two Intervals in C
- Check Armstrong Number in C
- Find Transpose of a Matrix in C
- Display Factors of a Number in C
- Make a Simple Calculator Using Switch…Case in C
- Display Prime Numbers Between Intervals in C
- Check Prime or Armstrong Number Using User-defined Function in C
- Check Whether a Number can be Expressed as Sum of Two Prime Numbers in C
- Find the Sum of Natural Numbers using Recursion in C
- Calculate Factorial of a Number Using Recursion in C
- Calculate G.C.D using Recursion in C
- Convert Binary Number to Decimal and Vice-Versa in C
- Convert Octal Number to Decimal and Vice-Versa in C
- Calculate the Power Using Recursion in C
- Calculate Average Using Array in C
- Find Largest Element in an Array in C
- Calculate Standard Deviation in C
- Add Two Matrices Using Multi-dimensional Arrays in C
- Multiply Two Matrices Using Multi-dimensional Arrays in C
- Multiply Two Matrices by Passing Matrix to a Function in C
- Access Array Elements Using Pointer in C
- Swap Numbers in Cyclic Order Using Call by Reference in C
- Find Largest Number Using Dynamic Memory Allocation in C
- Find the Frequency of Characters in a String in C
- Count the Number of Vowels, Consonants, Digits and Whitespaces in C
- Remove All Characters in a String Except Alphabets in C
- Find the Length of a String in C
- Concatenate Two Strings in C
- Copy String Without Using strcpy() in C
- Sort Elements in Lexicographical Order in C
- Display its Own Source Code as Output in C
- Write a Sentence to a File in C
- Store Data in Structures Dynamically in C
- Store Student Information Using Structure in C
- Calculate Difference Between Two Time Periods in C
- Add Complex Numbers by Passing Structure to a Function in C
- Add Two Distances using Structure in C
- Store Information of a Student Using Structure in C
- Operating Two Floating-point Numbers in C