100+ C Programs For Practice 100+ C Programs – Welcome to the ultimate C Programming Practice Hub — a carefully curated collection of 100+ C programs designed to help students master the fundamentals and excel in exams.Whether you’re a beginner building a strong foundation or an advanced learner sharpening your problem-solving skills, this page covers everything from basic syntax and control structures to arrays, functions, pointers, addition, subtraction, operations, patterns, operators, structures, file handling, and more.Each program is thoughtfully selected to strengthen logical thinking, improve coding confidence, and prepare you for practical exams, viva questions, and competitive assessments. Start practising, experiment with the code, and take your C programming skills to the next level!100+ C ProgramsThe First C ProgramReading Input in a C ProgramCompiling C ProgramsC Program to read a number and print the factorialC Program to Print the Sum of N Natural NumbersC Program to Print Factorial of any Given NumberC Program to Check a Prime Number or NotC Program to Print the Power of a Given NumberC Program to Print Factors of a Given NumberC Program to Print Factorial using RecursionC Program to find gross salaryC Program to Reverse a Given NumberC Program to Swap Two Numbers without Using a Third VariableC Program to Calculate the sum of subjects and find the percentageC Program to convert temperature from centigrade to FahrenheitC Program to find simple interestC Program to find the area and circumference of a circleC Program to find the sum of two numbersC Program to find the sum of two matricesC Program to find even/odd numbersC Program to display a matrixC Program to show the use of the conditional operatorC Program to find the maximum number in an arrayC Program to find the greatest of 3 NumbersC Program to show the sum and average of 10 elements of an arrayC Program to print a table of any numberC Program to add two numbers using pointersC Program to use the bitwise AND operator between the two integersC Program to display an odd number series and find the sumC Program to display the sum of the harmonic seriesC Program to print the Fibonacci series up to 100C Program to print a star pattern in a pyramid shapeC Program to print a star pattern in a reverse triangle shapeC Program to print a star pattern in a triangle shapeC Program to display the first 10 natural numbers and their sumC Program to display arithmetic operations using a switch caseC Program to display weekdays using a switch statementC Program to find the subtraction of two matricesC Program to shift input data by two bits to the leftC Program to find occurrences of vowels, consonants, words, spaces and special characters in give sentenceC Program to merge two arrays, excluding the repeating elementsC Program to perform file operationsC Program to find a palindrome numberC Program to find the largest of two numbers using the functionC Program to show call by referenceC Program to show call by valueC Program to show a table of numbers using a functionC Program to find the factorial of a number using a functionC Program to swap two numbers using a functionC Program to find the square of a number using a functionC Program to show input and output of a stringC Program to print the powers of 2 tables for the powers 0 to 20C Program to find the maximum number in an array using a pointerC Program to print the multiplication tableC Program to find the transpose of a matrixC Program to evaluate the equation y=xnC Program to find the multiplication of two matricesC Program to display months using enumC Program for finding the largest number in an arrayC Program for sorting the elements of an array in descending orderC Program to count the number of students in each groupC Program to evaluate a square expression and its sumC Program for plotting of two functionsC Program of minimum cost problemC Program to draw a histogramC Program to print a binomial coefficient tableC Program to read a line of textC Program to illustrate the use of the continue statementC Program to read a string using the scanf() functionC Program to evaluate the geometric progression seriesC Program for production and sales analysisC Program to illustrate the use of the break statementC Program to evaluate response to a multiple-choice testC Program to print the total marks obtained by a studentC Program to calculate standard deviationC Program to sort a list of numbers and to determine the medianC Program for finding the desired kth smallest element in an arrayC Program for removing duplicate elements in an arrayC Program to use functions with no arguments and no return valuesC Program to sort a customer list in the alphabetical listC Program for counting characters, words, and lines in a textC Program to sort a list of names in alphabetical orderC Program to calculate the square and cube by using a function as an argumentC Program to use string handling functionsC Program to return only absolute valuesC Program to concatenate a stringC Program to pass arguments to a user-defined function by value/referenceC Program to print the Character and Decimal value of alphabetC Program to return more than one value from a user-defined functionC Program to count the number of characters copied into a stringC Program to show the use of user defined functionC Program to use global variables on different functionsC Program to use similar variables in different functionsC Program to define & call user-defined functionsC Program to call a user-defined functionC Program to find the power of a value using a functionC Program to use functions with arguments and return valuesC Program to use functions with arguments but no return valuesC Program to use the ++ operator with the return value of a functionC Program to perform multiplication and division of numbersC Program to perform addition and subtraction of numbersC Program to assign the return value of a function to another variableC Program to call the function through a for loopC Program to call the user-defined function through the switch() statementC Program to call the user-defined function through an if statementC Program to evaluate the function equation s = sqr(a() + b())C Program to use modulo % with a functionStudent marksheet program in C programming