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
Explain overriding.
Is there any difference between int [] a and int a [] in c++?
Is sorted c++?
What are arrays c++?
In the derived class, which data member of the base class are visible?
Write a program using merge () function to combine the elements of array x[ ] and y[ ] into array z[ ].
What is the size of a vector?
True or false, if you keep incrementing a variable, it will become negative a) True b) False c) It depends
What is c++ & why it is used?
Why c++ is so important?
Differentiate between structure and class in c++.
What are advantages of using friend classes?
What is time h in c++?
What is the equivalent of Pascal's Real a) unsigned int b) float c) char
Can java be faster than c++?