Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Difference between delete and delete[]?

Answer Posted / laxman

delete is only just to delete a variable which is created
by new operator. delete[] , it deletes the array where the
varaialbe points .

Is This Answer Correct ?    24 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the maximum value of a unsigned char a) 255 b) 256 c) 128

1069


Write a program in C++ for Fibonacci series

1208


What is data hiding c++?

1042


How do I make turbo c++ full screen?

1070


Explain 'this' pointer and what would happen if a pointer is deleted twice?

1063


Is c++ a low level language?

971


What are the restrictions apply to constructors and destructors?

1080


What is abstraction in c++ with example?

1123


Is it possible to pass an object of the same class in place of object reference to the copy constructor?

1044


Can a class be static in c++?

1092


Evaluate !(1&&1||1&&0) a) Error b) False c) True

1206


Write my own zero-argument manipulator that should work same as hex?

1053


What is difference between c++ and c ++ 14?

1047


What does extern mean in a function declaration in c++?

1207


What is the difference between while and do while loop? Explain with examples.

1107