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 VOID?

1122


Write a struct time where integer m, h, s are its members?

1013


Why is c++ called oops?

1267


How much do coding jobs pay?

1058


What are shallow and deep copies?

1165


Explain the use of virtual destructor?

1121


Do class declarations end with a semicolon?

1122


What are the different types of polymorphism in c++?

1193


Explain the uses of static class data?

1156


Show the declaration for a pointer to function returning long and taking an integer parameter.

1218


What is DlgProc?

1077


Can a constructor return a value?

1346


Give the difference between the type casting and automatic type conversion. Also tell a suitable C++ code to illustrate both.

1104


What is polymorphism and its type in c++?

1117


What is rtti in c++?

1180