Skip to main content

BCA 302 OOP WITH C++

BCA (Semester 3)
Assignment 2
Subject- OBJECT ORIENTED PROGRAMMING WITH C++
__________________________________________________________

 1. Why we use Inline Function? Write situations where inline expression may not work.
2. What is the main advantage of passing arguments by reference?
3. How do structure in C and C++ differ?
4. What is class? How does it accomplish data hiding?
5. How objects are created? Explain with Example.
6. What is different between Public and private?
7. Explain the general form of Class Declaration.
8. Write a short note on memory allocation of objects.
9. What is Static data member? Write its characteristics.
10. What is Static Member Functions? Write its characteristics.
11. What is Friend Function? What are its Special Characteristics?
12. What is the use of friend function?
13. What is constructor and Destructor?
14. what is the main use of destructor?
15. What is Copy Constructor? Explain with Example.
16. What is Parameterized Constructor? When the constructor is invoked?
17. What are the properties of Constructor?
18. What is Operator overloading?
19. Why it is necessary to overload an operator?
20. What is an operator Function? Describe the Syntax of an operator Function.
21. What is conversion function?
22. How Conversion Function created? Explain its syntax.
23. Explain Binary Operator overloading using friend function with example.
24. On which operator, operator overloading can’t be used?
25. How to accomplish one class to another class type conversion?
26. What is inheritance? Explain different types of inheritance.

27. What is protected visibility modifier?




 

Comments

Popular posts from this blog

Microsoft to shut down MS Paint 32 years after its launch

Microsoft to shut down MS Paint 32 years after its launch Microsoft’s next Windows 10 update, called the Autumn (or Fall in the US) Creators Update, will bring a variety of new features. But one long-standing stalwart of the Windows experience has been put on the chopping block: Microsoft Paint. First released with the very first version of Windows 1.0 in 1985, Paint in its various guises would be one of the first graphics editors used by many and became a core part of Windows. Starting life as a 1-bit monochrome licensed version of ZSoft’s PC Paintbrush, it wasn’t until Windows 98 that Paint could save in JPEG. With the Windows 10 Creators Update, released in April, Microsoft introduced the new Paint 3D, which is installed alongside traditional Paint and features 3D image making tools as well as some basic 2D image editing. But it is not an update to original Paint and doesn’t behave like it. Now Microsoft has announced that, alongside Outlook Express, Reader app and Reading li...