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
We use library functions in the program, in what form they are provided to the program?
What does extern mean in a function declaration in c++?
Why is c++ not purely object oriented?
Which one between if-else and switch is more efficient?
What is this weird colon-member (" : ") syntax in the constructor?
Explain unexpected() function?
What is encapsulation in c++?
How do I download c++?
Is main a class in c++?
What is main function in c++ with example?
What is the use of structure in c++?
Explain abstraction.
How is c++ different from java?
What are multiple inheritances (virtual inheritance)?
What is nested class in c++?