What is the difference between Class and Structure?
Answer Posted / deepica
in classes we can declare variables and functions while in structure we can have only functions.In classes we have ACCESS SPECIFIER,while in structures we dont have any.Ic classes no Keyword is used ,while in Structures STRUCT keyword is used.
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
What is the latest c++ version?
Is nan a c++?
What is c++ redistributable?
What are the differences between java and c++?
How to give an alternate name to a namespace?
what is multi-threading in C++?
How do you print a string on the printer?
List the advantages of inheritance.
Which ide is best for c++?
Differences between private, protected and public and give examples.
What is expression parser in c++
Is java based off c++?
What is difference between c++ and c ++ 14?
Can you be bale to identify between straight- through and cross- over cable wiring? And in what case do you use straight- through and cross-over?
What is null pointer and void pointer and what is their use?