CodeSteps

Python, C, C++, C#, PowerShell, Android, Visual C++, Java ...

Author : Malin

C++ – Operator Overloading

One of the beautiful features of ‘C++’ is its ability to support Operator Overloading. ‘C++’ Operator Overloading allows changing the behavior of operators when using them with ‘C++’ class objects. One of the best examples of Operator Overloading is the ‘+’ operator. Usually, the ‘+’ operator will add two integer operands and produce an integer […]

C Programming – Dynamic memory allocation

C language Programming provides functions to create and release memory dynamically. There are two types of functions ‘C’ provides: One type of functions allocates memory in the heap. malloc calloc realloc Other type of function(s) release the memory from the heap. free Now you will get the doubt; why release memory functions are required? Why […]

MS-DOS – Writing a simple batch file

In MS-DOS, we can write DOS commands into a file and these commands are invoked when we run the file. Usually we can enter our command at DOS prompt. Once we enter the command, Operating System will execute the command and display the results on DOS console window. How do we enter multiple commands at […]

Scroll to top