1

I wanted to use only a specific block of memory for the class so that for an object, its member variables are allocated memory from the same block. And if the object goes out of the scope, then the memory block is again available for reuse.

Saksham
  • 9,037
  • 7
  • 45
  • 73

1 Answers1

2

You have two options:

Community
  • 1
  • 1
Alok Save
  • 202,538
  • 53
  • 430
  • 533