| 6. | What is “this”s pointer? |
|---|---|
| The this pointer is a pointer accessible only within the member functions of a class, struct, or union type. It points to the object for which the member function is called. Static member functions do not have a this pointer. |
| 7. | What are the uses of a pointer? |
|---|---|
|
| 8. | What is the purpose of main() function? |
|---|---|
|
| 9. | What are the different storage classes in C? |
|---|---|
|
| 10. | Define inheritance? |
|---|---|
| Inheritance is the process by which objects of one class acquire properties of objects of another class. |
No comments:
Post a Comment