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
What do you mean by delegate? Can a user retain delegates?
What is friend class in c++ with example?
Why iomanip is used in c++?
What is difference between class and function?
Can I learn c++ without learning c?
Describe the advantages of operator overloading?
What is ostream in c++?
Explain this pointer?
What is the difference between passing by reference and passing a reference?
What are its advantages and disadvantages of multiple inheritances (virtual inheritance)?
What do you mean by stack unwinding in c++?
What is the maximum combined length of command line arguments including the space between adjacent arguments?
Why Pointers are not used in C++?
Who calls main function?
List the merits and demerits of declaring a nested class in C++?