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

Is there something that we can do in C and not in C++?

Answer Posted / dangling pointer

try this one
int *x=malloc(10);
it works in c but not in c++ reason is we will have to
explicitly cast in c++ to convert a void* to another type
to work.

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the type of this pointer in c++?

1113


What does iomanip mean in c++?

1277


Define a constructor?

1109


Can a list of string be stored within a two dimensional array?

1042


How to tokenize a string in c++?

1112


Why is c++ still used?

1137


Which bitwise operator is used to check whether a particular bit is on or off?

1119


What is implicit pointer in c++?

1143


What do you mean by translation unit in c++?

1434


Do class method definitions?

1095


Why is c++ a mid-level programming language?

1087


Give 10 points of differences between C & C++.

1194


Name the implicit member functions of a class.

1122


To what does “event-driven” refer?

1112


What is the full form of stl in c++?

1238