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
What is DlgProc?
What is diamond problem in c++?
When do we use copy constructors?
What is prototype for that c string function?
What is #include sstream?
Can constructor be private in c++?
Is there a c++ certification?
Write a program which uses functions like strcmp(), strcpy()? etc
Define the process of error-handling in case of constructor failure?
What are guid? Why does com need guids?
Is turbo c++ free?
What is using namespace std in c++?
How can an improvement in the quality of software be done by try/catch/throw?
How many namespaces are there in c++?
What do you mean by function and operator overloading in c++?