C Programming

C Programming Tutorials

Gets() And Fgets() In C

fgets() and gets() in C Programming

Introduction We all are familiar with the scanf() function. It is the main function applicable to take basic user inputs. Even though scanf() works great while taking inputs such as integer, character, float etc. It….

Hash Table

Hash Table in C/C++ – A Complete Implementation

A Hash Table in C/C++ (Associative array) is a data structure that maps keys to values. This uses a hash function to compute indexes for a key. Based on the Hash Table index, we can….

Format Specifiers In C

Format Specifiers in C

Format specifiers in C are used to accept and display data to the user. In programming terms, format specifiers help the compiler analyze the type of data being provided to the program. Thus, it helps….

C Static Variables And Functions

Static Variables and Functions in C

Static Variables in C Basically, when static variables are declared, they create only a single copy of them and are also termed as Class Variables. They retain the value assigned in the corresponding scope and….

Linear Search Algorithm and Implementation in C

Linear Search is basically a sequential search algorithm. In this algorithm, the key element is searched in the given input array in sequential order. If the key element is found in the input array, it….

Stack in C Programming

A stack is a linear data structure, collection of items of the same type. Stack follows the Last In First Out (LIFO) fashion wherein the last element entered is the first one to be popped….

Strings in C Programming

Strings In C Programming

Strings in C programming are an array of characters with a NULL character (‘\0’) appended at the end index. Unlike character arrays, a c-string is a sequence of characters that are treated by the compiler….

Bitwise Operators in C/C++

In any programming language, operators carry out manipulations and operations on the operands, variables, etc. In C language or C++ language, Bitwise operators work at the bit level and serve the purpose of manipulations and….

Binary Tree Level Order

Level Order Traversal in a Binary Tree

Level Order Traversal is one of the methods for traversing across a Binary Tree. In this article, we shall look at how we can implement this algorithm in C/C++. But before that, let us have….

Binary Tree Traversals

Binary Tree Traversal (PreOrder, InOrder, PostOrder)

In this article, we shall look into how we can perform a Binary Tree Traversal using different methods. A Binary Tree is a data structure where every node has at most two children. We call….

Generic selectors
Exact matches only
Search in title
Search in content