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
In int main(int argc, char *argv[]) what is argv[0] a) The first argument passed into the program b) The program name c) You can't define main like that
Define token in c++.
What is the latest c++ version?
Is c++ fully object oriented?
Which software is best for coding?
Define a conversion constructor?
Can recursive program be written in C++?
Explain the difference between class and struct in c++?
What is the difference between #import and #include?
Is linux written in c or c++?
What is a null object in c++?
What are virtual constructors/destructors?
List different attributes in C++?
What are static type checking?
What is the c++ code?