What are the different types of pointers used in Delphi?
What are the different types of pointers used in Delphi?
- There are typed pointers types that are being provided by Delphi like PChar and PExtended.
- These points work with the Inc and Dec functions and don’t have any issue with the use of it.
- They can increment the Pint64 pointer type and add the SizeOf(Int64) bytes at the pointer address location.
- This way it allows the pointing of the pointer to point to the next memory location in the memory.
- There are generic pointers that are used to point to anything and very useful in case of dynamic memory allocation.