C Programming Practical List

C Programming Practical List

C is a general-purpose, high-level language that was originally developed by Dennis M. Ritchie to develop the UNIX operating system at Bell Labs. C was originally first implemented on the DEC PDP-11 computer in 1972. In 1978, Brian Kernighan and Dennis Ritchie produced the first publicly available description of C, now known as the K&R standard. The UNIX operating system, the C compiler, and essentially all UNIX application programs have been written in C.

Below is a list of some common C programming topics:


C Program – Basic

  1. Write a C Program to print Hello World.
  2. Write a C Program to Print Your Own Name.
  3. Write a C Program to Print an Integer Entered By the User.
  4. Write a C Program to Add Two Numbers.
  5. Write a C Program to Check Whether a Number is Prime or Not.
  6. Write a C Program to Multiply two Floating-Point Numbers.
  7. Write a C Program to Print the ASCII Value of a Character.
  8. Write a C Program to Swap Two Numbers.
  9. Write a C Program to Calculate Fahrenheit to Celsius.
  10. Write a C Program to Find the Size of int, float, double, and char.
  11. Write a C Program to Add Two Complex Numbers. 
  12. Write a C Program to Print Prime Numbers From 1 to N.
  13. Write a C Program to Find Simple Interest.
  14. Write a C Program to Find Compound Interest.
  15. Write a C Program for Area And Perimeter Of Rectangle. 

C Program – Control Flow

  1. Write a C Program to Check Whether a Number is Positive, Negative, or Zero.
  2. Write a C Program to Check Whether Number is Even or Odd.
  3. Write a C Program to Check Whether a Character is Vowel or Consonant.
  4. Write a C Program to Find Largest Number Among Three Numbers.
  5. Write a C Program to Calculate Sum of Natural Numbers.
  6. Write a C Program to Print Alphabets From A to Z Using Loop.
  7. Write a C Program to Check Leap Year.
  8. Write a C Program to Find Factorial of a Number.
  9. Write a C Program to Make a Simple Calculator.
  10. Write a C Program to Generate Multiplication Table.
  11. Write a C Program to Print Fibonacci Series.
  12. Write a C Program to Find LCM of Two Numbers.
  13. Write a C Program to Check Armstrong Number.
  14. Write a C Program to Display Armstrong Numbers Between 1 to 1000.
  15. Write a C Program to Display Armstrong Number Between Two Intervals.
  16. Write a C Program to Reverse a Number.
  17. Write a C Program to Check Whether a Number is a Palindrome or Not.
  18. Write a C Program to Check Whether a Number is Prime or Not.
  19. Write a C Program to Display Prime Numbers Between Intervals.
  20. Write a C Program to Check whether the input number is a Neon Number.
  21. Write a C Program to Find All Factors of a Natural Number.
  22. Write a C program to  Sum of Fibonacci Numbers at Even Indexes up to N Terms.

C Program – Pattern Printing

  1. Write a C Program to Print Simple Pyramid Pattern.
  2. Write a C Program to Print Given Triangle.
  3. Write a C Program to Print 1800 Rotation of Simple Pyramid.
  4. Write a C Program to Print Inverted Pyramid.
  5. Write a C Program to Print Number Pattern.
  6. Write a C Program to Print Character Pattern.
  7. Write a C Program to Print Continuous Character Pattern.
  8. Write a C Program to Print Hollow Star Pyramid.
  9. Write a C Program to Print Inverted Hollow Star pyramid.
  10. Write a C Program to Print Hollow Star Pyramid in a Diamond Shape.
  11. Write a C Program to Print Full Diamond Shape Pyramid.
  12. Write a C Program to Print Pascal’s Pattern Triangle Pyramid.
  13. Write a C Program to Print Floyd’s Pattern Triangle Pyramid.
  14. Write a C Program to Print Reverse Floyd pattern Triangle Pyramid.

Click here to view more Star Pattern.

C Program – Functions

  1. Write a C Program to Check Prime Number By Creating a Function.
  2. Write a C Program to Display Prime Numbers Between Two Intervals Using Functions.
  3. Write a C Program to Find All Roots of a Quadratic Equation.
  4. Write a C Program to Check Whether a Number can be Express as Sum of Two Prime Numbers.
  5. Write a C Program to Find the Sum of Natural Numbers using Recursion.
  6. Write a C Program to Calculate the Factorial of a Number Using Recursion.
  7. Write a C Program to Find G.C.D Using Recursion.
  8. Write a C Program to Reverse a Stack using Recursion.
  9. Write a C Program to Calculate Power Using Recursion.

C Program – Arrays

  1. Write a C Program to Print a 2D Array.
  2. Write a C Program to Find the Largest Element in an Array.
  3. Write a C Program to Find the Maximum and Minimum in an Array.
  4. Write a C Program to Search an Element in an Array (Binary search).
  5. Write a C Program to Calculate the Average of All the Elements Present in an Array.
  6. Write a C Program to Sort an Array using Bubble Sort.
  7. Write a C Program to Sort an Array using Merge Sort.
  8. Write a C Program to Sort an Array Using Selection Sort.
  9. Write a C Program to Sort an Array Using Insertion Sort.
  10. Write a C Program to Sort the Elements of an Array in Descending Order.
  11. Write a C Program to Sort the Elements of an Array in Ascending Order.
  12. Write a C Program to Remove Duplicate Elements From a Sorted Array.
  13. Write a C Program to Merge Two Arrays.
  14. Write a C Program to Remove All Occurrences of an Element in an Array.
  15. Write a C Program to Find Common Array Elements .
  16. Write a C Program to Copy All the Elements of One Array to Another Array.
  17. Write a C Program For Array Rotation.
  18. Write a C Program to Sort the 2D Array Across Rows.
  19. Write a C Program to Check Whether Two Matrices Are Equal or Not.
  20. Write a C Program to Find the Transpose.
  21. Write a C Program to Find the Determinant of a Matrix.
  22. Write a C Program to Find the Normal and Trace.
  23. Write a C Program to Add Two Matrices.
  24. Write a C Program to Multiply Two Matrices.
  25. Write a C Program to Print Boundary Elements of a Matrix.
  26. Write a C Program to Rotate Matrix Elements.
  27. Write a C Program to Compute the Sum of Diagonals of a Matrix.
  28. Write a C Program to Interchange Elements of First and Last in a Matrix Across Rows.
  29. Write a C Program to Interchange Elements of First and Last ina Matrix Across Columns.

C Program – Strings

  1. Write a C Program to Add or Concatenate Two Strings.
  2. Write a C Program to Add 2 Binary Strings.
  3. Write a C Program to Get a Non-Repeating Character From the Given String.
  4. Write a C Program to check if the string is palindrome or not.
  5. Write a C Program to Reverse an Array or String.
  6. Write a C program to Reverse a String Using Recursion.
  7. Write a C Program to Find the Length of a String.
  8. Write a C Program to Sort a String.
  9. Write a C Program to Check For Pangram String.
  10. Write a C Program to Print the First Letter of Each Word.
  11. Write a C Program to Determine the Unicode Code Point at a Given Index.
  12. Write a C Program to Remove Leading Zeros.
  13. Write a C Program to Compare Two Strings.
  14. Write a C Program to Compare Two Strings Lexicographically.
  15. Write a C Program to Insert a String into Another String.
  16. Write a C Program to Split a String into a Number of Sub-Strings.

C Program – Conversions

  1. Write a C Program For Boolean to String Conversion.
  2. Write a C Program For Float to String Conversion.
  3. Write a C Program For Double to String Conversion.
  4. Write a C Program For String to Long Conversion.
  5. Write a C Program For Long to String Conversion.
  6. Write a C Program For Int to Char Conversion.
  7. Write a C Program For Char to Int Conversion.
  8. Write a C Program For Octal to Decimal Conversion.
  9. Write a C Program For Decimal to Octal Conversion.
  10. Write a C Program For Hexadecimal to Decimal Conversion.
  11. Write a C Program For Decimal to Hexadecimal Conversion.
  12. Write a C Program For Decimal to Binary Conversion.
  13. Write a C Program For Binary to Decimal Conversion.

C Program – Pointers

  1. How to Return a Pointer from a Function in C.
  2. How to Declare a Two-Dimensional Array of Pointers in C?
  3. Write a C Program to Find the Largest Element in an Array using Pointers.
  4. Write a C Program to Swap Two Numbers.
  5. Write a C Program to Sort an Array using Pointers.
  6. Write a C Program to Sort a 2D Array of Strings.
  7. Write a C Program to Check if a String is a Palindrome using Pointers.
  8. Write a C Program to Create a Copy of a Singly Linked List using Recursion.
  9. C Program – Structures and Unions
  10. Write a C Program to Store Information of Students Using Structure.
  11. Write a C Program to Store Student Records as Structures and Sort them by Name.
  12. Write a C Program to Add N Distances Given in inch-feet System using Structures.
  13. Write a C Program to Add Two Complex Numbers by Passing Structure to a Function.
  14. Write a C Program to Store Student Records as Structures and Sort them by Age or ID.
  15. Read/Write Structure to a File in C.
  16. Flexible Array Members in a Structure in C.

Post a Comment

0Comments

Post a Comment (0)