Categories

Web DevelopmentProgrammingDatabaseWindowsLinuxNetworkingMobile DevicesRaspberry PiPythonCJavaOtherSponsored

C Articles

C program to count lines, words and characters in a file

This is a C program to count the number of lines, words and characters in a file

C program to insert an element in a singly linked list

A Linked list consists of a set of nodes and each node has some data and a pointer to next node. Here is a C program to insert an element in a linked list

C program to add, remove, print, and traverse a linked list

A Linked list consists of a set of nodes and each node has some data and a pointer to next node. Here is a C program to add, remove, count and print elements of a linked list

C program to write a string to text file

This is a simple C program to write a string to a text file

C program to read a text file

C program to read a text file and display the contents on screen. This program accepts the name of the file to be read as a command line argument.

Binary search in C using recursion

A binary search is an algorithm to search the position of an element inside a sorted array. Here is a C program that performs binary search on an array using recursion.

C program to convert Hexadecimal to Decimal

Here is a C program to convert a hexadecimal number to its decimal equivalent. Base-16 to Base-10 conversion.

C program to sort array elements using Bubble sort

C program to sort the elements of an array in ascending order using Bubble Sort algorithm

C program to sort array elements using insertion sort

C program to sort the elements of an array in ascending order using Insertion Sort algorithm

C program to convert Decimal to Binary

Here is a C program to convert a decimal number to binary format.