C++ Interview

Constructors in C++ and Its Types

Constructors in C++ are special member functions that are automatically called when a class object is created. They are used to initialize the class objects. The constructor’s name is the same as the class name, and it does not have a return type. If you do not create your own constructor, then the compiler creates […]

Constructors in C++ and Its Types Read More »

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 »