In C++, this pointer is passed as a hidden argument to all non-static member function calls. The type of... 24 May Type of ‘this’ pointer in C++ | cpp | 0 In C++, this pointer is passed as a hidden argument to all non-static member function calls. The type of...
To understand ‘this’ pointer, it is important to know how objects look at functions and data members of a... 24 May ‘this’ pointer in C++ | cpp | 0 To understand ‘this’ pointer, it is important to know how objects look at functions and data members of a...
Things to learn in this article: Importance of pointer in C/C++. Problems with normal pointer. Why smart pointers introduce.... 24 May Introduction of Smart Pointers in C++ and It’s Types | cpp | 0 Things to learn in this article: Importance of pointer in C/C++. Problems with normal pointer. Why smart pointers introduce....
In C++, variables are passed by reference due to following reasons: 1) To modify local variables of the caller... 24 May When do we pass arguments by reference or pointer? | cpp | 0 In C++, variables are passed by reference due to following reasons: 1) To modify local variables of the caller...
In C++, Reference variables are safer than pointers because reference variables must be initialized and they cannot be changed... 24 May Can references refer to invalid location in C++? | cpp | 0 In C++, Reference variables are safer than pointers because reference variables must be initialized and they cannot be changed...
What is an opaque pointer? Opaque as the name suggests is something we can’t see through. e.g. wood is... 24 May Opaque Pointer | cpp | 0 What is an opaque pointer? Opaque as the name suggests is something we can’t see through. e.g. wood is...
What is Array Decay? The loss of type and dimensions of an array is known as decay of an... 24 May What is Array Decay in C++? How can it be prevented? | cpp | 0 What is Array Decay? The loss of type and dimensions of an array is known as decay of an...
Pointers store address of variables or a memory location. // General syntax datatype *var_name; // An example pointer "ptr"... 24 May Pointers in C and C++ | cpp | 0 Pointers store address of variables or a memory location. // General syntax datatype *var_name; // An example pointer "ptr"...
In C++ we can store string by one of the two ways – C style strings string class (discussed... 24 May C++ string class and its applications | cpp | 0 In C++ we can store string by one of the two ways – C style strings string class (discussed...
An array in C/C++ or be it in any programming language is a collection of similar data items stored... 24 May Arrays in C/C++ | cpp | 0 An array in C/C++ or be it in any programming language is a collection of similar data items stored...