Understanding of delete and NULL variable

what delete and NULL variable do
and what is the difference between
delete and NULL variable

Hey @TheSourabh
None of them is a variable but a Keyword instead
delete is used to free dynamically allocated space ,eg deallocating dynamic array

NULL is values which we can assign to pointers which means they point to nothing

node* pointer=NULL;

If this resolves ur query then please mark it as resolved :slight_smile: