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 an operator in c++?

995


In what situations do you have to use initialization list rather than assignment in constructors?

1012


Reads in the size of a square from the screen; 2. Prints a hollow square of that size out of “-“, “|” and blanks on screen; 3. Prints the same hollow square onto a text file. Your program should work for squares of all side sizes between 1 and 20. --- │ │ │ │ │ │ ---

2046


What are the general quetions are in DEna bank manager IT/System interviews?

1952


What is the difference between method overloading and method overriding in c++?

1080


What is a sequence in c++?

959


What do c++ programmers do?

1012


What are the two types of comments?

940


Can we run c program in turbo c++?

1040


What is object file? How can you access object file?

1122


how to connect with oracle 9i with server in socket program in c/c++

2282


What is a local reference?

1140


What is the error in the code below and how should it be corrected?

708


What are containers in c++?

937


What is pointer in c++ with example?

1009