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 multiple inheritances (virtual inheritance)?
What is fflush c++?
what is Member Functions in Classes?
How can you quickly find the number of elements stored in a static array? Why is it difficult to store linked list in an array?
What are the advantages of c++?
What is c++ flowchart?
What is purpose of abstract class?
What does the following do: for(;;) ; a) Illegal b) Loops forever c) Ignored by compiler...not illegal
What is the use of object in c++?
what is data abstraction in C++?
When can I use a forward declaration?
Can you please explain the difference between using macro and inline functions?
What is a template in c++?
Write a function that swaps the values of two integers, using int* as the argument type?
Arrange Doubly linked list in the ascending order of its integral value and replace integer 5 with 7?