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

What is final keyword in java? Give an example.

1016


Explain the scope of a variable.

1095


How are variables stored in memory?

1067


What is meant by distributed application? Why are we using that in our application?

947


What is the access scope of protected access specifier?

998


What are voids?

964


What are encapsulation, inheritance and polymorphism?

1007


How can you make a class serializable in java?

988


What is meant by class loader? How many types are there? When will we use them?

971


What is a static method in java?

1047


How many bits are used to represent unicode, ascii, utf-16, and utf-8 characters?

1096


When object is created and destroyed?

1103


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

1232


Can we create an object of static class in java?

1016


What is a website container?

954