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

Evaluate the following expression as C++ would do :8 * 9 + 2 * 5 a) 82 b) 79 c) 370 d) list

1004


Is c++ free?

1102


Explain what is class definition in c++ ?

1127


What are manipulators in c++ with example?

1074


Write a Program to find the largest of 4 no using macros.

1082


Explain the operation of overloading of an assignment operator.

1173


int age=35; if(age>80) {Console.WriteLine("Boy you are old");} else {Console.WrieLine("That is a good age");}

1261


What is meant by forward referencing and when should it be used?

1014


What is the best book for c++ beginners?

1048


What is vector pair in c++?

1231


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

1053


program explaining feautures of c++

2442


State two differences between C and C++.

1173


A mXn matrix is given and rows and column are sorted as shown below.Write a function that search a desired entered no in the matrix .with minimum complexity 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16

3676


How do I run a program in notepad ++?

1112