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

Write a program to find the Fibonacci series recursively.

1075


Which software is best for programming?

1161


What is oops in c++?

1070


What are arithmetic operators?

1006


What is format for defining a structure?

1090


What is general form of pure virtual function? Explain?

1002


Explain what are accessor methods?

1130


How would perform Pattern Matching in C++?

1242


What are stacks?

1070


What is the difference between global variables and static varables?

1150


Difference between delete and free.

1086


How are the features of c++ different from c?

1108


What is c++ redistributable?

1238


Is linux written in c or c++?

1055


What is c++ programming language?

1110