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 are register variables?

1154


Array base access faster or pointer base access is faster?

2307


What is the main function c++?

1130


How long it will take to learn c++?

1047


Why #include is used?

1072


Is java easier than c++?

1033


Write a program using merge () function to combine the elements of array x[ ] and y[ ] into array z[ ].

1066


How many types of classes are there in c++?

1047


How does list r; differs from list r();?

1158


Do you need a main function in c++?

1124


What is the function to call to turn an ascii string into a long?

1067


Why is c++ still popular?

1054


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

1073


Which is not a valid keyword a) public b) protected c) guarded

1264


What is c strings syntax?

1148