C Programming

Initialize an Array in C — step-by-step DevOps tutorial on Progressive Robot

Initialize an Array in C

URL: https://www.progressiverobot.com/initialize-an-array-in-c/ In this article, we'll take a look at how we will initialize an array in C. There are different ways through which we can do this, so we'll list them all one by one. Let's get started! Method 1: Initialize an array using an Initializer List An initializer list initializes elements of an […]

Read more
Using INT_MAX and INT_MIN in C/C++ — step-by-step Programming tutorial on Progressive Robot

Using INT_MAX and INT_MIN in C/C++

URL: https://www.progressiverobot.com/int-max-min-c-plus-plus/ In this article, we'll take a look at using INT_MAX and INT_MIN in C/C++. These are actually useful macros which represent the maximum and minimum integer values. Let's take a look at it, using some examples. Using INT_MAX and INT_MIN INT_MAX is a macro which represents the maximum integer value. Similarly, INT_MIN represents […]

Read more
Level Order Traversal in a Binary Tree — step-by-step Programming tutorial on Progressive Robot

Level Order Traversal in a Binary Tree

URL: https://www.progressiverobot.com/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 our concepts covered. Building the concepts A Binary Tree is a data structure where every node has at-most […]

Read more
Linear Search Algorithm and Implementation in C — step-by-step Programming tutorial on Progressive Robot

Linear Search Algorithm and Implementation in C

URL: https://www.progressiverobot.com/linear-search-algorithm-c/ Linear Search is basically a sequential search algorithm. In this algorithm, the key element is searched in the given input [array](/community/tutorials/arrays-in-c) in sequential order. If the key element is found in the input array, it returns the element. Linear Search Algorithm Linear_Search ( Array X, Value i) Set j to 1 If j […]

Read more
Using the puts() function in C/C++ — step-by-step Programming tutorial on Progressive Robot

Using the puts() function in C/C++

URL: https://www.progressiverobot.com/puts-function-c-plus-plus/ Introduction Hello reader! Today in this tutorial we are going to discuss about the vastly used puts() function in for both C and C++ programming languages. Even though the printf() and cout functions in both C and C++ are prominent for printing variables, numbers, lines, etc. they ultimately lack behind while printing strings […]

Read more
Arrow operator in C - All you need to know! — step-by-step Programming tutorial on Progressive Robot

Arrow operator in C – All you need to know!

Hey, folks! In this article, we will be focusing on Arrow operator in C. C language comprises of various operators to deal and manipulate the data records. One such operator is the Arrow operator. So, let us begin! Working of Arrow operator in C? In C, this operator enables the programmer to access the data […]

Read more
Install C/GCC Compiler for Windows — step-by-step DevOps tutorial on Progressive Robot

Install C/GCC Compiler for Windows

The first step in learning any programming language is to have the required software installed in the system. In this tutorial, we will learn how to install C/GCC compiler in Windows. Source Code Editors Although, you may choose any basic text editor such as notepad for writing and editing source code of C, we recommend […]

Read more
Data Types and Modifiers in C — step-by-step DevOps tutorial on Progressive Robot

Data Types and Modifiers in C

Data Types in C C has various data types to store data in program. C program can store _integer, decimal number, character(alphabets), string(words or sentence), list_ etc. using various data types. We need to specify the data type of variable(identifier) to store any data in it. Explanation and basic usage of the concept is provided […]

Read more
CHAT