C Programming Source Code

C Program to Calculate Factorial of a Number

C Program to Calculate Factorial of a Number

This C program is designed to compute the factorial of a user-entered integer. The program employs a for loop to calculate the factorial and then…

C Program to demonstrate 8Queen with simple graphics

The C program is an implementation of the 8-Queens Puzzle, a classic problem in chess. The objective of the puzzle is to place eight chess…

Snake Game – C Imlementation

This C program simulates the game "snake" which is usually available in old mobile phones. A string of characters moves on the screen according to…

C Program: Number Shuffling Game

This C program is a simple console-based implementation of a number-shuffling game. The game presents a grid of numbers, and the objective is to rearrange…

C Program – Tic-Tac-Toe Game – Command Line

This is a console version of Tic Tac Toe computer game written in c programming language. The game runs in text mode of command prompt…

How to Paint in DoS Mode in C [Command Line]

This C program allows you to paint in graphics mode under Dos Prompt. It uses graphic library grphics.h which is available in Turbo C++ Compiler…

C Program to show Fibonacci Sequence

This C program prints out the first Fibonacci series of N numbers. In mathematics, the Fibonacci numbers are a sequence of numbers named after Leonardo…

Datagram Operations using C

This application demonstrates the various datagram operations possible from NetBIOS. This includes sending and receiving both directed and group datagrams as well as broadcast datagrams.

ASCII Table – Print ASCII Codes, Characters and Symbols by a Computer Program

The following program prints out the numerical codes of the printable/visible ASCII characters. This C program prints ASCII values of all the alphabets and special…

Writing UDP Data Sender and Receiver in C

The sender program is a UDP datagram sender that can be configured through command line options. It initializes Winsock, creates a UDP socket, and either…