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 friend classes? What are advantages of using friend classes?
What is a volatile variable in c++?
What is c++ & why it is used?
Can there be at least some solution to determine the number of arguments passed to a variable argument list function?
Write a program which uses functions like strcmp(), strcpy()? etc
Can we distribute function templates and class templates in object libraries?
write a corrected statement so that the instruction will work properly. if (4 < x < 11) y = 2 * x;
What is the use of setprecision in c++?
By using c++ with an example describe linked list?
What is a rooted hierarchy?
What is protected inheritance?
What are shallow and deep copy?
What is c++ similar to?
What do you mean by public protected and private in c++?
What are the various arithmetic operators in c++?