What is the difference between Class and Structure?
Answer Posted / hardik savani
class is refrains type and structure is value type most op
us variable public and private in class.
public variable is use any component and private variable is use only class property
Is This Answer Correct ? | 6 Yes | 6 No |
Post New Answer View All Answers
Define stacks. Provide an example where they are useful.
Explain the isa and hasa class relationships. How would you implement each?
What operator is used to access a struct through a pointer a) >> b) -> c) *
How does code-bloating occur in c++?
What is an adjust field format flag?
Explain the concept of memory leak?
Are vectors passed by reference c++?
What is the benefit of encapsulation?
What is type of 'this' pointer?
Describe delete operator?
What does std :: flush do?
Why can templates only be implemented in the header file?
What are its advantages and disadvantages of multiple inheritances (virtual inheritance)?
Is c++ a float?
What is an adaptor class or wrapper class in c++?