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

Answer Posted / brainless

According to c++ standard, structure is a kind of class.
However, all members are default to "public".

Is This Answer Correct ?    5 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What's the most powerful programming language?

597


Explain the difference between static and dynamic binding of functions?

555


Write a program using GUI concept for the scheduling algorithms in Operating system like SJF,FCFS etc..

3360


What are multiple inheritances (virtual inheritance)?

585


What is lambda expression c++?

578






Write a c program for binary addition of two 8 bit numbers.

3668


Explain the virtual inheritance in c++.

599


How to get the current position of the file pointer?

556


Give the difference between the type casting and automatic type conversion. Also tell a suitable C++ code to illustrate both.

634


What is the use of 'using' declaration in c++?

632


Are there any special rules about inlining?

585


What is a try block?

640


How to allocate memory dynamically for a reference?

544


How would you find out if a linked-list is a cycle or not?

555


Why c++ is created?

576