What is the Difference between "C structure" and "C++
structure"?

Answers were Sorted based on User's Feedback



What is the Difference between "C structure" and "C++ structure"?..

Answer / asif iqbal

1.C is a procedural oriented lang. whereas C++ is an object oriented lang.
2.C employs bottom-up aproach whereas C++ employs top-down approach.
3.In C main preference is given to functions whereas in C++ main preference is given to objects.
4.In C no inheritence,polymorphism whereas in C++ it exists.
5.In C data member and member functions are separated whereas in C++ they are within a Class.

Is This Answer Correct ?    1 Yes 8 No

What is the Difference between "C structure" and "C++ structure"?..

Answer / guest

C++ DOES NOT HAVE INHERITANCE IT DOSE NOT HAVE POINTERS N
HEADER FILES

Is This Answer Correct ?    7 Yes 33 No

Post New Answer

More C++ General Interview Questions

Can there be at least some solution to determine the number of arguments passed to a variable argument list function?

0 Answers  


What is helper in c++?

0 Answers  


Why we use #include conio h in c++?

0 Answers  


Does defining a function inline mean that it wont push and pop things on/off the stack ...like parameters and the return the address??

2 Answers  


Implement a 2 dimensional array by one dimentional array

1 Answers   CTS,






What are raw sockets, where they are efficient?

2 Answers   Symphony,


What is the header file for setw?

0 Answers  


What is meaning of in c++?

0 Answers  


Is it legal in c++ to overload operator++ so that it decrements a value in your class?

0 Answers  


Why do we need c++?

0 Answers  


What is the use of register keyword with the variables?

0 Answers  


What are the advantages of using const reference arguments in a function?

0 Answers  


Categories