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

Answer Posted / sanket

In C++ structure you can add functions whereas in C
structure you cannot!

Is This Answer Correct ?    39 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you explicitly call a destructor on a local variable?

602


What data structure is fastest, on average, for retrieving data: a) Binary Tree b) Hash Table c) Stack

586


Am pass the 10000 records to target in target I will take commit interval 15000 when I was stop the work flow what will happened

1081


What is #include iomanip?

548


What is c++ stringstream?

608






What is late binding c++?

543


What is an operator function? Describe the function of an operator function?

616


You run a shell on unix system. How would you tell which shell are you running?

660


Why is that unsafe to deal locate the memory using free( ) if it has been allocated using new?

630


Should you pass exceptions by value or by reference?

698


What is the latest version on c++?

687


Define a nested class. Explain how it can be useful.

632


What are the four main data types?

584


How is new() different from malloc()?

635


What is encapsulation in c++ with example?

586