# C Programming

## History of C Programming Language

Let’s have a glance at the comprehensive history of the C programming language.  Interesting fact: You will be surprised to know that when C was developed at that time even Microsoft did not exist. History Of C Programming Language C was originally developed by Dennis Ritchie between 1972 and 1973 at Bell Labs who also …

## Challenging C Programs

Are you excited to make your C programming journey even more fun with challenging C programs? You can try to solve all the programs by your self first and later you can have a glance at solved solutions of challenging C programs. Challenging C Programs with solutions: Cipher-decipher Program in C Encoding program In C …

## Learn C Programming Online Free

Do you want to Learn C programming online for free? If yes! You have landed at the right post. In this post, we will cover all the essential concepts of the C programming language that’s crucial for the beginners. Learn C Programming Online Free Introduction of C programming language History of C programming language  Basic …

## C Programming Examples With Output

Let’s have a look at C programming Examples with output. This post is curated specifically for the fresher who want’s the grasp the C programming. C Program to Find the Sides of a Triangle Read More C Program to Determine the Centre Coordinate in C Programming Language Read More Hello World Program in C Read …

## Basics of C Language for Beginners

Have you just started learning C programming Language? Do you want to get introduced to the basics of C language for Beginners? If Yes! You landed on the right page. Basics of C Language for Beginners Introduction History Basic Syntax Header Files Keywords Variables Constants Operators Data Types Decision Making Arrays Functions Storage Class Structures …

## C Program to Find Centroid of a Triangle

This C Program will help you to find the Centroid of a triangle. The centroid is a point where all the three medians of the triangle intersect. Therefore, the centroid of the triangle can be found by finding the average of the x-coordinate’s value and the average of the y-coordinate’s value of all the vertices of the triangle. Centroid of points, A, …

## Quick Sort Program in C Using Recursion

In this Searching and Sorting in C, we will have a look at how to write a quick sort program in C using recursion. Quick Sort Program in C Using Recursion #include<stdio.h> void quick_sort(int[],int,int); int partition(int[],int,int); int main() { int a[50],n,i; printf(“How many elements?”); scanf(“%d”,&n); printf(“\nEnter array elements:”); for(i=0;i<n;i++) scanf(“%d”,&a[i]); quick_sort(a,0,n-1); printf(“\nArray after sorting:”); for(i=0;i<n;i++) printf(“%d …

## C Program to Implement Merge Sort

In this Searching and Sorting in C, we will have a look at how to write a C Program to merge sort in C Program. Merge sort (also commonly spelled mergesort) is an efficient, general-purpose sorting algorithm based on a comparison. Many implementations generate a consistent form, which means that input and output, the order of …

## Implement Selection Sort Method using Functions in C

In this Searching and Sorting in C, we will have a look at how to write a C Program to implement selection sort using functions in C Programming Language. You can also have a look at the C Program to Implement Selection Sort Recursively. C Program to Implement the Selection Sort Method using Functions #include <stdio.h> …

## C Program to Implement Selection Sort Recursively

In this Searching and Sorting in C, we will have a look at how to write a C Program to implement selection sort recursively in C Programming Language. Selection sort is an algorithm for sorting, specifically in-place comparison. It has a time complexity of O(n2), making it inefficient on large lists, and generally performs worse than …