Q1. A. What is unary operator? List out the different
operators involved in the unary operator.
B. What is an adjust field format flag?

Q2. A. Distinguish between a # include and #define.
B. Can a list of string be stored within a two dimensional
array?

Q3. A. Explain how a pointer to function can be declared in
C++?
B. List the merits and demerits of declaring a nested class
in
C++?

Q4. A. What are the syntactic rules to be avoid ambiguity
in multiple
inheritence?
B. Explain the operation of overloading of an assignment
operator.

Q5. A. Explain how the virtual base class is different from
the
conventional base classes of the opps.
B. Explain how an exception handler is defined and invoked
in a
Program.
Q6. A. What is a binary file? List the merits and demerits
of the binary
file usagein C++.
B. Write short notes on Text Manipulation Routines.
C. Write bites in Turbo c++ Header ("Include") Files.




Answer Posted / rck

5)A.
Virtual Base Class is the concept comes under multipath inheritance.If a class (for ex:class D) dervied from two base classes(class B and class C) which are already derived from a single base class(class A) is called multipath inheritance.
Now the derived class (D) will acquire properties of base class (A) form both classes(B and C) thus leads to ambiguity.In order to avoid that we declare Virtual infront of the base class thus only one copy of the class is derived to the derived class (D).

Is This Answer Correct ?    8 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

List out the basic features of MFC.

13693


Do you have an idea about MFC?

916


plzz tell me what we can do and dont in tally ERP & sap business one?

1882


How do I create a dialog box in mfc?

611


what is functioning of DIalodDataXchange ..?

1194






What is mfc class hierarchy?

620


how to repaint when working with horizontal scroll bar

1549


2.create for 10 batch: Employee_Number Employee_name Employee_Dateofjoining Employee_address Employee_salary 1.select the employee name who deriving more than 10 thousand salary and joined before august 08. use structure and pointers

1811


What is the difference between Struts and JSF? Pls list some most suitable differences.

2846


what is the meaning of constant FILE EXCEEDS LENGTH LIMIT while loading from ps file to vsam in the jcl?

3344


How to handle dynamic menus in mfc? What happens when client calls cocreateinstance?

694


what message is sent to an application when the user presses the primary button?

1386


What does mfc stand for?

961


I want recent paper pattern for HP company?

1789