C Programming Examples – Simple C Programs

C Programming Examples – Simple C Program for beginners

In this article, we will share you, C Programming Examples on different topic like, Loops, functions, pointers, mathematical calculation, searching algorithms, and structures and many of simple C program with solutions. This simple C Program list generated for beginners and professionals to develop coding skills with C Language.

I have recently posted a lot of C Programming tutorials and this is a summary post for simple C Programs where I am providing all the C Programming Example links in the order to read them.

Many useful C programs are given in this post. I will be adding more C Programming in this post, so please bookmark the post for future reference too.

Kindly Feel free to use the sample C Programs with code on your system.

C Programming Examples –Simple C Programs

The below post start with very small and simple C Programming Examples to get basic idea of C programming code structure.

C Program to Calculate Average of Numbers 

C Program to Convert Temperature From Fahrenheit to Celsius

C Program to Calculate Bonus, Commission and Gross Salary 

C Program for Testing Character Type Use of getchar Function 

C Program to Print an Integer Numbers

C Program to Calculate Area of Triangle

C Program to Find Greatest of Three Numbers 

C Program for Testing, Reading and Writing Character Type 

C Program for Reading Integer Numbers 

C Program to Reading Of Strings with Example

C Program to Draw Histogram with Simple Code 

C Program to find Minimum Cost With Example

C Program to Print Multiplication Table

C Program to Find Largest of Three numbers 

C Program Nested For Loop with Example

Break statement in C Programming Example 

C Program Exit with goto Statement

C Program Continue Statement with Example

C Program to Calculate Standard Deviation

One Dimensional Array in C Programming Examples

C Program to Concatenation of Strings

String Handling Function in C Programming

C Program to Sort set of strings in Alphabetical Order

C Program to Calculate Rank list of Class Students using Pointers

C Program to Write ODD, and EVEN Numbers Integer Data Files

C Program to Find Factorial of Number Using Recursion 

C Program to Print Elements of Array using Pointers 

C Program to Print Product of Two Matrices

C Program to Find Total of Even Integers 

C Program to Display Fibonacci Sequence


C Program to Print Prime Numbers up to Given Number

Let me know if you find any difficulty in understanding this simple C Programs with examples and I would be glad to explain it further.

Online Training Tutorials

  • C Program to Print Prime NumbersC Program to Print Prime Numbers up to Given NumberFollowing C program Print Prime Numbers up to Given Number, then display the result on the screen: A for loop is a repetition control structure that allows you to efficiently write a […]
  • Display Fibonacci SequenceC Program to Display Fibonacci SequenceTo Write a program that would to Display Fibonacci Sequence. The C program to display Fibonacci Sequence using loops is given in below simple example. Unlike for and while loops, which […]
  • C Program to Find Total of Even IntegersC Program to Find Total of Even IntegersThe following C Program to Find Total of Even Integers and display them in ascending alphabetical order. An array is a collection of variables of the same type. All arrays consist of […]
  • Print Product of Two MatricesC Program to Print Product of Two MatricesFollowing C Program to Print Product of Two Matrices, then display the result on the screen: The simplest form of multidimensional array is the two-dimensional array. A two-dimensional […]
  • C Program to Find Total of Even IntegersC Program to Find Factorial of Number Using RecursionTo Write C program that would find factorial of number using Recursion. The function is a group of statements that together perform a task. Every C program has at least one function, which […]
  • C Program to Find Total of Even IntegersC Program to Write ODD, and EVEN Numbers Integer Data FilesTo Write C program that would print ODD and EVEN numbers handling Integer Data files. The C program to give step by step simple example.The file named DATA contains series of integer […]
  • C Program to Find Total of Even IntegersC Program to Sort set of strings in Alphabetical OrderThe following program key user to be ask to enter set of Strings and the program would sort and display them in ascending alphabetical order. To Write a program that would sort list of […]
  • C Program to Find Total of Even IntegersString Handling Function in C ProgrammingC program provides set of pre-defined functions called string handling functions to work with string values in programming. The string handling functions are defined in a header file […]