C Programming Exercises With Solutions
- INTRODUCTION
- C “Hello, World!” Program
- C Program to Print Number Entered by User
- C Program to Add Two Numbers
- C Program to Find Quotient and Remainder
- C Program to Find Size of int, float, double and char in Your System
- C Program to Swap Two Numbers
- C Program to Find ASCII Value of a Character
- C Program to Multiply two Numbers
- Simple Programs
- C Program To Find Area And Circumference Of Circle
- C Program to Convert a person’s name in Abbreviated
- C Program For Calculate A Simple Interest
- C Program To Find Greater No. Among given Three Number
- C Program To Find The Gross Salary Of An Employee
- C Program For Calculate Percentage Of 5 Subjects
- C Program For Converting Temperature Celsius Into Fahrenheit
- C Program To Display Size Of Different Datatype
- C Program To Check Number Is Positive Or Negative
- C Program To Find Character Is Vowel Or Not
- C Program To Calculate Factorial Of A Given Number
- C Program To Read Integer (N) And Print First Three Powers (N¹, N², N³)
- C Program To Swap Two Number Without Using Third Variable
- C Program To Find The Address Of Variable
- Decision & loops
- C Program to Check Whether Number is Even or Odd
- C Program to Check Whether a character is Vowel or Consonant
- C Program to Find Largest Number Among Three Numbers
- C Program to Find All Roots of a Quadratic Equation
- C Program to Calculate Sum of Natural Numbers
- C Program to Check Leap Year
- C Program to Find Factorial
- C Program to Generate Multiplication Table
- C Program to Display Fibonacci Series
- C Program to Find GCD
- C Program to Find LCM
- C Program to Reverse a Number
- C Program to Calculate Power of a Number
- C Program to Check Whether a Number is Palindrome or Not
- C Program to Check Whether a Number is Prime or Not
- C Program to Display Prime Numbers Between Two Intervals
- C Program to Check Armstrong Number
- C Program to Display Armstrong Number Between Two Intervals
- C Program to Display Factors of a Number
- C Program to Make a Simple Calculator to Add, Subtract, Multiply or Divide Using switch…case
- C Program To Print A Message Multiple Times Using Loop
- C Program Print Truth Table Of XY+Z Using Loop
- C Program Convert Decimal Number To Binary Number Using Loop
- C Program to Sort Elements in Lexicographical Order (Dictionary Order) Using For Loop
- C Program For Denomination of an Amount Using While Loop
- FUNCTIONS
- C Program to Display Prime Numbers Between Two Intervals Using Functions
- C Program to Check Prime Number By Creating a Function
- C Program to Check Whether a Number can be Express as Sum of Two Prime Numbers
- C program to Find Sum of Natural Numbers using Recursion
- C program to Calculate Factorial of a Number Using Recursion
- C Program to Find G.C.D Using Recursion
- C Program to Convert Binary Number to Decimal and vice-versa
- C Program to Convert Octal Number to Decimal and vice-versa
- C Program to Convert Binary Number to Octal and vice-versa
- C program to Reverse a Sentence Using Recursion
- Reversing a List
- C Program to Calculate Power Using Recursion
- C Program To Find Cube Of Any Number Using Functions
- C Program To Perform All Arithmetic Operations Using Functions
- C Program To Find Fibonacci Series Using Functions
- C Program To Swap Two Numbers Using Functions
- C Program To Swap Two Numbers Without Using Third Variable Using Functions
- C Program to Calculate Standard Deviation Using Function
- Arrays & Strings
- C Program To Convert A Lower Case To Upper Case using string
- C Program To Print Reverse A Sentence using string
- C Program To Print A Full String Input By Keyboard using string
- C Program To Check String Is Palindrome Or Not
- C Program To Find The Length Of Any String
- C Program To Compare Two String
- C Program To Copy One String To Another
- C Program To Display Sring From Backward
- C Program For Count A Words In Given String Even Enter No Of Space’s Between String
- C Program to Calculate Average of Numbers Using Arrays
- C Program to Find Largest Element of an Array
- C Program to Calculate Standard Deviation
- C Program to Add Two Matrix Using Multi-dimensional Arrays
- C Program to Multiply Two Matrix Using Multi-dimensional Arrays
- C Program to Find Transpose of a Matrix
- C Program to Multiply two Matrices by Passing Matrix to Function
- C Program to Swap Numbers in Cyclic Order Using Call by Reference
- C Program to Find the Frequency of Characters in a String
- C Program to Find the Number of Vowels, Consonants, Digits and White Spaces in a String
- C Program to Remove all Characters in a String Except Alphabets
- C Program to Find the Length of a String
- C Program to Copy Strings
- C Program To Print All Value Of An Array
- C Program To Check Primeness Of An Array
- C Program To Check An Array Is Armstrong Or Not
- C Program To Sort An Array Using BUBBLE SORT TECHNIQUE
- C Program To Sort An Array Using SELECTION SORT TECHNIQUE
- C Program To Merge Two Array Into Third Array Unconditionally
- C Program To Merge One Ascending And Another One Is Descending Array In Third Array Should be Descending Order
- C Program To Find Row In An Array That Includes The Greatest Amount Of Even Number
- C Program To Reverse An Array In O(n)
- C Program To Find The Union And Intersection Of Two Sorted Array In Increasing Order
- C Program To Find Duplicate Element In Array Time Complexity O(n), Space Complexity O(1)
- Class Programs
- Structures
- C Program to Store Information of a Student in a Structure
- C Program to Add Two Distances (in inch-feet) System Using Structures
- C Program to Add Complex Numbers by Passing Structure to a Function
- C Program to Calculate Difference Between Two Time Period
- C Program to Store and Display Information Using Structure
- C Program For Employee Information Using Nested Structure
- C Program For Book Details Using Structure
- If / Else Statement Programs
- C Program To Check Character Is Uppercase, Lowercase Alphabet Or A Digit Or A Special Symbol
- C Program To Find Greatest Among Three Numbers
- C Program To Check Number Is Armstrong Or Not Using If/Else Statements
- C Program To Find Character Is Vowel Or Not Using If/Else Statements
- C Program To Check Number Is Even Or Odd Using If/Else Statements
- C Program To Check Number Is Prime Or Not Using If/Else Statements
- C Program To Check Character Is Uppercase, Lowercase Alphabet Or A Digit or A Special Symbol Using If/Else Statements
- C Program To Find Quotient And Reminder Of Two Numbers Using If/Else Statements
- C Program To Convert A Lowercase Alphabet To Uppercase Alphabet Or Vice-Versa Using If/Else Statements
- C Program To Find Max Number Among Given Three Number Using If/Else Statements
- C Program To Check Year Is Leap Year Or Not Using If/Else Statements
- C Program To Find The HCF Or LCM Of Two Number Using If/Else Statement
- C Program To Check Expression Parenthesis Is Valid Or Not Using If/Else Statements
- CProgram To Check Age Between 40 To 60 Using If/Else Statements
- C Program To Count Letters, Space, Digits, And Others Using If/Else Statements
- CProgram To Check Date Validation (Valid Or Not) Using If/Else Statements
- C Program To Determine Whether The Seller Made Profit or Loss. Also, Determine How Much Profit or Loss He Made
- Switch Case programs
- C Program For Temperature Conversion Celcius To Fahrenheit And Vice Versa Using Switch Case
- C Program To Find A Grade Of Given Numbers Using Switch Case
- C Program To Perform All Arithnatic Operations Ie:-(a+b,a-b,a*b,a/b,a%b) Using Switch Case
- C To Program Calculate Area Of Circle Rectangle And Triangle Using Switch Case
- C Program For Finding A Grade Using Switch Case
- Pointer Programs
- C Program To Find Number Is Even / Odd Using Pointer
- C Program To Read Infinite Number Then Arrange Ascending Order Using Pointer
- C Program To Average Of Array Function Of Using Pointer
- C Program For Swapping Two Number In Function Using Pointer
- C Program To Print Address Of Pointer Of An Array Using Pointer
- File Handling Programs
- C Program To Read A Line By Line And Write Line By Line Using File
- C Program For Reading A No. From File And Sum Of No. Line By Line Using File
- C Program For Count A Character In File Using File
- C Program To Display The List Of Current Directory/Folder Using File
- C Program For Copy One File To Another Using File Handling
- C Program To Merge Two File Into the Third File Using File Handling
Disclaimer: The above C programs are generated by Different sources but the Solution is Provided by Chase2Learn. This tutorial is only for Educational and Learning purposes. Authority if any of the queries regarding this post or website fill the following contact form thank you.
c programming exercises with solutions for beginners | c programming exercises with solutions free download challenging c programs with solutions | c programming coding questions and answers | c programming examples with output |basic c programs
| basic c programs for interview |c programming assignments with solutions