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

New software continuously scrambles code to foil cyber attacks: Technique sets a deadline on hackers to severely limit chances of success

New software continuously scrambles code to foil cyber attacks: Technique sets a deadline on hackers to severely limit chances of success : As long as humans are writing software, there will be coding mistakes for malicious hackers to exploit. A single bug can open the door to attackers deleting files, copying credit card numbers or carrying out political mischief. A new program called Shuffler tries to preempt such attacks by allowing programs to continuously scramble their code as they run, effectively closing the window of opportunity for an attack.
The board of Snapdeal is expected to meet tomorrow to discuss the potential sale of India's third largest e-commerce firm to larger rival Flipkart. Also, on the agenda will be getting Nexus Venture Partners (NVP), an early investor in Snapdeal, to agree to the sale deal. The seven-member board of Jasper Infotech, which operates Snapdeal, includes representation from investors SoftBank, Kalaari Capital and Nexus Venture Partners (NVP), as well as co-founders Kunal Bahl and Rohit Bansal. The valuation of Snapdeal is believed to be one of the hurdles to the deal, as Kalaari and NVP were not in agreement with the valuation given by SoftBank, which is the largest shareholder in Snapdeal. SoftBank has now succeeded in getting Kalaari (another early-stage investor in Snapdeal) to agree but is yet to get NVP on board for the deal. The sources said once NVP agrees, the deal with Flipkart could be announced in a matter of weeks. The deal with Flipkart, if it happens, would...