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 / dheeraj sharma

in c we can assign we can assign void pointer to any type of
pointor varible without typecasting.,but we cant do it in
C++,because C++ does not allow type mismatch.

same case with enum also.in C we can assign integer to enum
member directly,but in C++ we have to typecast integer first
with enum variable.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain overriding.

954


Is there any difference between int [] a and int a [] in c++?

947


Is sorted c++?

1054


What are arrays c++?

1053


In the derived class, which data member of the base class are visible?

1071


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

1008


What is the size of a vector?

1063


True or false, if you keep incrementing a variable, it will become negative a) True b) False c) It depends

2315


What is c++ & why it is used?

1033


Why c++ is so important?

1025


Differentiate between structure and class in c++.

1022


What are advantages of using friend classes?

1017


What is time h in c++?

1081


What is the equivalent of Pascal's Real a) unsigned int b) float c) char

973


Can java be faster than c++?

1111