0% found this document useful (0 votes)
6 views

C Programs For Practice

Uploaded by

allammd6786
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views

C Programs For Practice

Uploaded by

allammd6786
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

C Programs for Practice

1. Basic Simple C Programs for Practice


1. C Program to Find Area And Circumference of Circle
2. Print the ASCII Value of the Character
3. C Program to Find Area of Triangle Given Base And Height
4. C Program to Convert a Person's Name in Abbreviated Form
5. Calculate a Simple Interest
6. Gross Salary Program in C Programs
7. C Program to Find Percentage of 5 Subjects
8. Convert Temperature Celsius into Fahrenheit
9. Write a C Program to Display The Size of Different Data Types
10. a Check Number Is Positive or Negative
11. Find the Character Is Vowel or Not
12. Calculate the Factorial of a Given Number
13. C Program to Read Integer and Print First Three Powers (N^1, N^2, N^3)
2. If/Else C Programs to Practice
1. C Program to Check Uppercase or Lowercase or Digit or Special Character
2. Find the Greatest Among Three Numbers
3. Checking Whether You Are Eligible for Voting or Not
4. Program for Finding Greater Between Two Number
5. Checking Number Is Even or Odd
6. Leap Year Program in C with Logic, Explanation and Output
7. Check Character Is a Vowel or Not Using If-Else
8. Given Date Month and the Year Is Correct or Not Using If-Else
9. Largest of Three Numbers in C Using Nested if Else

3. Loops Programs
1. C Program to Reverse a Number Using FOR Loop
2. Program of Armstrong Number in C Using For Loop & While Loop
3. Calculate the Sum of Natural Numbers Using the While Loop
4. Write a C Program to Print the Multiplication Table of N
5. Fibonacci Series Program in C Using DO While Loop
6. Find the GCD of Two Numbers Using Loop
7. Program to Find LCM of Two Numbers in C Using While Loop
8. C Program to Reverse a Number Using FOR Loop
9. Palindrome Program in C Using While Loop
10.Count the Number of Digits of an Integer Using the While Loop
11.Find a Generic Root of a Number Using While Loop
12.C Program to Print The Calendar of a Month of 31 Days
13.C Program To Generate IP Addresses(IPv4 & IPv6) Using For Loop
14.Check Whether a Number Is Divisible by 11 Using (Vedic Maths)
15.C Program to Sort an Array in Ascending And Descending Order
16.Denomination of an Amount Using While Loop

4. Switch Case Basic C Programs


1. C Program to Convert Celsius to Fahrenheit And Vice Versa
2. C Program to Print Day of Week Name Using Switch Case
3. Write a C Program to Make a Simple Calculator Using Switch Case
4. Write a C Program to Find the Grade of a Student Using Switch Case
5. Finding Radius Circumference
6. Remove All Vowels from a String
5. Array C Programs
1. Insert an Element at a Specific Position in an Array in C Program
2. C Program for Remove Duplicates Items
3. Delete Element from an Array at a Desired or Specific Position
4. Print "I AM IDIOT" Instead of Your Name Using an Array
5. String Palindrome Program in C With Explanation
6. Convert All Input String Simultaneously into an Asterisk *
6. String Programs
1. C Program for Remove All Vowels from a String
2. C Program to Delete a Substring From a String
3. Convert String to Integer Without Using Library Functions
4. C Program to Convert Lowercase to Uppercase And Vice Versa
5. Program for Reverse a String Using Library
6. Write a Program to Reverse a String in C
7. Compare Two String Using STRCMP Function
8. String Palindrome Program in C With Explanation
9. Find the Number of Vowels, Consonants, Digits and White Space
Character
7. Functions C Programs
1. Bubble Sort Using a Function in Ascending and Descending Order
2. Convert Binary Numbers to Decimal or Decimal Numbers to Binary
3. Convert Octal Numbers to Decimals and Vice Versa
4. C Program for Convert Binary to Octal and Vice Versa
5. Display Prime Numbers Between Intervals
6. C Program to Check Prime or Armstrong Number
8. Pointer C Programs
1. C Program for Reverse a String Using Pointer
2. Write a C Program to Compare Two Strings Using Pointers
3. Open a File(open a Program Itself) Using Pointer
9. Structure Programs
1. Structure Program for Student Details in C Programs
2. Structure Program For Student Details in C Programs
3. C Program to Add Two Distances (in Inch-feet) System Using Structures
4. Add Two Complex Numbers by Passing Structure with Function
5. Calculate the Difference Between the Two Time Periods (HH: MM: SS)
6. Structure Program For Student Details in C [Using Structure]
10. Patterns Basic C Programs
1. Home Pattern with Help of *
2. Diamond Star * Pattern
3. Left Half Diamond Star Pattern
4. Right Half Diamond Star Pattern
5. Hollow Diamond * Pattern
6. Pyramid Pattern Using Star *
7. Right Arrow Star Pattern
8. Left Arrow * Pattern
9. Pascal Triangle Using a Number
10.Christmas Tree Pattern Using *
11. Sorting C Programs
1. BUBBLE Sort in Ascending and Descending Order
2. SELECTION Sort in Ascending and Descending Order
3. INSERTION Sort in Ascending Order
4. QUICK Sort in Ascending Order
5. MERGE Sort in Ascending Order
6. Heap Sort in Ascending Order with Complexity
12. Searching- All C Programs
1. Linear Search Program in C
2. Binary Search Program in C

You might also like