What are the differences between a struct in C and in C++?
Answer Posted / jyoti
C++ was based on C and retains a great deal of the
functionality. C++ does not retain complete source-level
compatability with C. There are a few gotchas for C++
programmers trying to write C code, and C programmers trying
to compile with a C++ compiler.
| Is This Answer Correct ? | 8 Yes | 8 No |
Post New Answer View All Answers
Is it possible for the objects to read and write themselves?
Define the process of error-handling in case of constructor failure?
Who created c++?
What is the benefit of encapsulation?
What is the difference between global variables and static varables?
Explain storage qualifiers in c++.
What is the array and initializing arrays in c++?
What is a binary file? List the merits and demerits of the binary file usagein C++.
Explain about Garbage Collector?
Describe the setting up of my member functions to avoid overriding by the derived class?
What is the difference between function overloading and operator overloading?
What is #include ctype h in c++?
Why are pointers used?
Is c++ slower than c?
What is a pointer how and when is it used?