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
What are the different types of comments allowed in c++?
What are built-in functions? What is the syntax for the definition?
Which header file allows file i/o with streams a) fileio.h b) iostream.h c) fstream.h
What is the best ide for c++?
Is overriding possible in c++?
How do you master coding?
What is iterator in c++?
What data structure is fastest, on average, for retrieving data: a) Binary Tree b) Hash Table c) Stack
Explain class invariant.
What is atoi?
How important is c++?
Why isn't sizeof for a struct equal to the sum of sizeof of each member?
Can you pass a vector to a function?
Does c++ have arraylist?
how to access grid view row?