C Programs

This section will cover simple c programs with input/output example. We have also describe the program logic for the better under standing specially for c programming beginners.

Simple C Programs With Example

This section is a collection of basic c programs with input/output examples which are number conversion, number swapping, airthmetic, number calculation, length of a string, program to calculate simple interest, arrays programs, binary search program in c, programs to illustrate call by value and call by reference, c programs to print number & star triangle, pointers programs, fibonacci series program in c, reserve keywords lists, prime number program, armstrong number program, leap year program and much more...

SNoC Programs
1C Programming Basics
2C Program: Find The Sum of Two Numbers
3Reverse Number Program in C
4Prime Number Program in C
5How to Calculate Gross Salary of a Person in C
6How to Compile and Run a C Programs
7Your First C Program
8Reserve Keywords List C
9If Else Statement in C
10Print Star Triangle in C
11Fibonacci Series Program in C
12Pointers in C
13Palindrome Program in C
14Armstrong Number Program in C
15Check Whether a Number is Even or Odd
16Check Leap Year in C
17Print Number Triangle in C
18Binary Search Program in c
19Print Table of Number in C
20C Program to Find Length of a String
21C Program to Convert Binary to Octal
22C Programs and Examples with Solutions
23C Program to Find ASCII Value of a Character
24C program to Print First 10 Natural Numbers
25Find Greatest Number From 3 Numbers
26Push an Element in an Array Using C
27C Program to Swap Two Numbers
28C Program to Calculate the Power of a Number
29C Program to Merge Two arrays
30C Program to Find the Simple Interest
31Calculate the Length of a String in C
32What is Temporary Variable
33Call by Value and Call by Reference in C
34C Program to Convert Binary to Decimal Number
35C Program to Convert Decimal to Binary Number
36Number System Conversion Programs in C Programming Language
37C Program to Convert Decimal to Hexadecimal Number
38C Program to Print the Alphabet
39How to delete duplicate elements from an array in c programming language
40Breadth First Search (BFS) Program in C
41Depth First Search (DFS) Program in C
42Bubble Sort algorithms & Program in C Programming Language
43How to Shutdown Computer Using C Program
44Write a C Program to Calculate Average Using Arrays
45How to Swap Two Numbers Without Using Any Third Variable in C Programming
46Selection Sort Program in C Programming Language
47String Functions in C Programming Language
48C Programming Interview Questions and Answers
49C Program to Find the Array Size
50C Program to Delete an Element From an Array
51How to Find the Area of a Square Using C
52C Program to Find the Largest Element From an Array
53C Program to Generate Random Number
54How to Print an Array in C Programming Language
55How to Create a New Directory in C Programming Language
56C Program to Copy an Array to Another Array
57C Program to Accept Paragraph as Input and Display Output
58C Program to Find Sum of N Numbers
59C Program to Display Hostname And IP Address
60Sizeof Operator in C Programming Language
61C Program to Convert a Number to a String
62C Program to Convert Decimal to Octal Number
63Execute C Program Without main() Function
64Linked List Program in C
65Merge Sort Program in C
66Linear Search Program in C Programming Language
67Insertion Sort Program in C
68C Program to Print ASCII Table
69C Program to Split an Array From Specified Position
70C Program to Reverse a Linked List
71C Program to Compare Two Strings With Output
72C Program to Sort a Stack Using Recursion
73C program to count the number of lines in a file
74C program to calculate compound interest
75C program to compute sum of the array elements
76C program to copy text from one file to other files
77C program to display mouse pointer in textmode
78C program to perform stack operations
79C program to implement hash tables
80C program to generate the Captcha
81C program to print digital clock
82C program to find maximum element in array
83Interpolation search program in c with output
84C program to write a sentence to a file with output
85C program to reverse an array with the output
86C program to calculate the area of a square
87C program for binary search on array using recursion
88C program to add two complex numbers
89Give an example of recursive function
90C program for matrix multiplication
91C program for implement the hash tables
92C program for Huffman Coding With the output
93C program to pancake sorting with the output
94C program for different tree traversals
95C program to delete the binary search tree (BST)
96C program to print next greater elements in a given array
97Frequently asked c programs for interview
98Age Calculator- c program to calculate age
99C program for counting sort
100C Programming Examples on Array
101C Programming Examples on Function
102C Program to Convert Binary to Hexadecimal Number
103C Programming Examples on Data-Structures
104C program to construct a B tree
105C program implement an analog clock with the output
106C program for subtraction of matrices with the output
107C program to find the minimum distance between two numbers
108C program to create a file & store information
109C program delete a specific line from a text file
110C program to list files in a directory
111C program to copy one file into another file
112C Programming examples on file handling
113C program to find the size of a file
114Traffic light program in c programming
115C program to draw a bar chart
116C program to draw pie chart
117C program to draw a 3d bar chart
118C program to reverse a stack using recursion
119C program to find Sum of N numbers using recursion
120C programming examples using recursion
121C program to find the length of the string using recursion
122C program to implement selection sort recursively
123C program to find next prime palindrome number
124tmpfile() function in C
125C program to swap two numbers using bitwise operators
126C program to insert a node in AVL tree
127C program to print contents of the file
128C program to count number of lines in a file
129C program to delete a file from directory
130C program for naive pattern searching algorithm
131C program to find area of a triangle
132C# program to print the area of a triangle
133C program to convert Uppercase to Lowercase
134C program to delete words from the sentence

If you want to write a c program and share on this page, then you can share your program with input and output by using the Request Tutorial page. I will add your program with your name and photo in this page.

Keywords: c program, c programming, basic programs in c, c language program, programs in c language, programs in c, c programs with output, c programs with examples