Author name: Amlendra

I am an embedded c software engineer and a corporate trainer, currently, I am working as senior software engineer in a largest Software consulting company . I have working experience of different microcontrollers (stm32, LPC, PIC AVR and 8051), drivers (USB and virtual com-port), POS device (VeriFone) and payment gateway (global and first data).

batch file for loop

batch file for loop

Like other programing language batch script supports the looping. In this article, I will explain the batch file for the loop and describe some examples of how we can use the batch file for loop in our program. Batch File For Loop Syntax, FOR %%Var_Name in list do iteration_Code   Parameters for the batch script for loop […]

batch file for loop Read More »

batch file statement

Batch file if else statements

The batch script supports the conditional statements like if, if-else ..etc. In this article, I will discuss how you can use if and else in the batch file. You can see this article, Batch file commands Batch file if statement The if the statement is one of the selection statements. It uses to select statements

Batch file if else statements Read More »

batch file variables

Batch file variables and scope

The batch script also supports the concept of the variable similar to the other programming language. In this article, you will see how we can create a batch file variables and how we can use it. In the batch file, we can create variable two types, one is using the set commands and another is

Batch file variables and scope Read More »

Batch commands

Batch file commands

In my previous article, we have seen the introduction of the batch file (batch script). In this article, I will describe some important commands of the batch file which frequently used. Below find the list of the commands. Note: Batch file commands are not case sensitive.   ASSOC Displays or modifies file name extension associations.

Batch file commands Read More »

recursion in C

Recursion in C

Recursion is a process in which function call itself and the function that calls itself directly or indirectly called a recursive function. A recursive function calls itself so there can be several numbers of the recursive call, so the recursive function should have the termination condition to break the recursion. If there is a not

Recursion in C Read More »

Memory Layout In C

Memory Layout of C program

Memory layout of a C program typically represented by five main segments: Stack Segment: Local variables reside in stack, and it also handles function call management. Heap Segment: All dynamic memory allocation (memory allocation during runtime using functions like malloc(), calloc(), …etc.) manages by heap dynamic. BSS (Uninitialized Data Segment): Stores global and static variables

Memory Layout of C program Read More »

C macros and its types in C

C Macros are defined using the #define preprocessor directive and do not need to be terminated by a semicolon (;). In C programming, macro is a piece of code which has been given a name using the #define, we will see it in the below example code. Whenever we use this name in the code,

C macros and its types in C Read More »