C Programming

Ten Most Recommended C books for Expert Programmers

Ten Most Recommended C books for Expert Programmers

The “Hello, World!” Program in C

This is a simple “Hello, World!” C program to display "Hello, World!" text on the computer screen or display device. Typically, the best way to…

The C++ Modulus Operator [mod or % operator]

The C++ language provides a built-in mechanism, the modulus operator (mod or %), that computes the remainder that results from performing integer division.

Find the middle element of linked list in C

In order to find middle element of linked list in one pass, you need to maintain two pointers, one increment at each node while other…

Why Learn C as first programming language?

There are hundreds of programming languages used in the professional industry and university/college academics. One needs to be familiar and able to program with at…

C Implementation of Base64 Encoding and Decoding

Base64 encoding and decoding schemes are commonly used to encode binary data. Normally this is required when textual data needs to be transferred over the…

Kruskal’s Algorithm

This is the implementation of Kruskal's Algorithm in C and C++ Programming Languages. This algorithm is directly based on the generic MST (Minimum Spanning Tree)…

Porter’s Algorithm in C

Originally written in 1979 at Computer Laboratory, Cambridge (England), it was reprinted in 1997 in the book "Readings in Information Retrieval". Initially it was written…