It’ll create a NULL
(0) pointer, which is an invalid pointer anyway 🙂
More Related Contents:
- C++ inserting unique_ptr in map
- What is the difference between '.' and '->' when used in array? [closed]
- Is `&variable = null;` possible? [closed]
- C++ Memory Leak Using char *
- What are the differences between a pointer variable and a reference variable in C++?
- When should static_cast, dynamic_cast, const_cast and reinterpret_cast be used?
- Calling virtual functions inside constructors
- Typedef function pointer?
- What is the difference between char a[] = ?string?; and char *p = ?string?;?
- Why isn’t it legal to convert “pointer to pointer to non-const” to a “pointer to pointer to const”
- Why is there no call to the constructor? [duplicate]
- How do I call the base class constructor?
- C++: constructor initializer for arrays
- Two string literals have the same pointer value?
- Initialize parent’s protected members with initialization list (C++)
- Constexpr pointer value
- Does accessing a declared non-volatile object through a volatile reference/pointer confer volatile rules upon said accesses?
- Is pointer comparison undefined or unspecified behavior in C++?
- What is the uintptr_t data type?
- Can I use identical names for fields and constructor parameters?
- Default parameters with C++ constructors [closed]
- Pointer array and sizeof confusion
- Why the initializer of std::function has to be CopyConstructible?
- How to sort a linked list using bubble-sort?
- What’s the difference between Radio r = Radio(“PSR”, 100.8) and Radio(“PSR”, 100.8)?
- Function returning array but main showing garbage [duplicate]
- dereferencing a pointer when passing by reference
- Why is arr and &arr the same?
- int *array = new int[n]; what is this function actually doing?
- Is a Linked-List implementation without using pointers possible or not?