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 are namespaces in c++?
What is the prototype of printf function?
What are the two types of comments, and how do they differ?
Describe private, protected and public?
What is cin clear () in c++?
How can we read/write Structures from/to data files?
If a header file is included twice by mistake in the program, will it give any error?
What is c++ w3school?
What parameter does the constructor to an ofstream object take?
Why c++ does not have finally?
Explain container class.
which of the following is not an secondary constant a) array b) real c) union
What is the advantage of c++ over c?
what are the events occur in intr activated on interrupt vector table
What are the advantages of c++? Explain