What is the difference between Class and Structure?
Answer Posted / rohit patil
Syntax of class
class class_name
{
variable_declaration
function_declaration
};
syntax of structure
struct struc_name
{
variable declaration
};
Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
Which is best ide for c++?
Is c++ a high level language?
Do you need a main function in c++?
Describe friend function & its advantages.
what is oops and list its features in c++?
To which numbering system can the binary number 1101100100111100 be easily converted to?
Write a program to show polymorphism in C++?
What is encapsulation in C++? Give an example.
Is c++ harder than java?
What is using namespace std in c++?
What's the "software peter principleā?
What are arithmetic operators?
How do you print a string on the printer?
Can circle be called an ellipse?
What is the need of a destructor?