How to: Optimize the Memory Space by Heap Memory Allocation in C++

Memory allocation at the applications run-time enables the use of a storage space, expressed in number of bytes, having the size of heap memory required for data storing defined by the variables. Compile-time allocation allows the reservation and use of storage space with predefined size expressed in number of bytes. In this situation, software developers […]

Read More →
How to: Implement Arithmetic of Pointers in C++

In C++ programming language, memory areas can be accessed indirectly through pointer type variable […]. Also, available with a memory address, it ensures movement on memory areas from the memory address stored in the variable pointer. This is ensured by arithmetic operators and it is called arithmetic of pointers. Depending on the nature of arithmetic […]

Read More →
How to: Define and Access a Variable in VB.NET

A variable corresponds to a location of memory, which stores values when performing calculations.Variables are used in calculations, comparisons. They have established a name in the source program, and accessing the value stored in memory location is achieved by variable name. In VB.NET, a variable has an associated data type […], without being required to […]

Read More →