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
Distinguish between new and malloc and delete and free().
What are vtable and vptr?
Can you sort a set c++?
What is binary object model?
What are the benefits of c++?
What are the advantages of prototyping?
What is #include sstream?
Explain how to initialize a const member data.
Differentiate between a constructor and a destructor in c++.
how to connect with oracle 9i with server in socket program in c/c++
Is main a class in c++?
What is c++ and its features?
What is c++ map?
When is the copy constructor called?
What is object file? How can you access object file?