What is the difference between Class and Structure?
Answer Posted / amit
strucuter member function and variable are by defualt
public and class member varible and funtion are by defualt
private.
sructure can not inherited but class can .
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
What are pointers used for c++?
Write my own zero-argument manipulator that should work same as hex?
Why c++ is the best language?
Describe the advantages of operator overloading?
Explain linked list using c++ with an example?
Are strings immutable in c++?
How we can differentiate between a pre and post increment operators during overloading?
What is the difference between function overloading and operator overloading?
Write is a binary search tree? Write an algo and tell complexity?
What is different in C++, compare with unix?
Explain the static storage classes in c++.
Are iterators pointers?
What is searching?
Reverse the Linked List. Input: 1->2->3->4->5->NULL Output: 5->4->3->2->1->NULL
What are the syntactic rules to be avoid ambiguity in multiple inheritance?