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...

What is the difference between delete and delete[]

Answer Posted / nashiinformaticssolutions

• delete: Frees memory allocated for a single object.
• delete[]: Frees memory allocated for an array of objects.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to restrict a member of a class from inheriting by its sub classes?

1284


How do you use compareto?

887


What are java packages? What is the significance of packages?

954


What is meant by object?

961


I want to control database connections in my program and want that only one thread should be able to make database connection at a time. How can I implement this logic?

1043


What is the difference between yielding and sleeping in java programming?

1072


Can a constructor call another constructor?

922


What is set in java?

986


What is a default constraint?

1014


Explain tree set and its features?

1000


What about method local inner classes or local inner classes in java?

1005


What is used of static keyword in java?

1002


Explain about procedural programming language or structured programming language and its features?

1028


What is the difference between call by reference and call by pointer?

913


What types of index data structures can you have in java?

1129