Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is ambiguity in c++

Answers were Sorted based on User's Feedback



What is ambiguity in c++..

Answer / neha yadav

ambiguity means "confusion" and "two means"
ambiguity is created in data function overloading and multiple inheritance.

Is This Answer Correct ?    41 Yes 5 No

What is ambiguity in c++..

Answer / h4ck3r

In multiple inheritance, there may be possibility that a class may inherit member functions with same name from two or more base classes and the derived class may not have functions with same name as those of its base classes. If the object of the derived class need to access one of the same named member function of the base classes then it result in ambiguity as it is not clear to the compiler which base’s class member function should be invoked. The ambiguity simply means the state when the compiler confused.

Is This Answer Correct ?    19 Yes 1 No

What is ambiguity in c++..

Answer / deepthi

Multilevel inheritance

Is This Answer Correct ?    19 Yes 19 No

What is ambiguity in c++..

Answer / philemon

ambiguity is a compile error which occurs when multiple base classes are inherited

Is This Answer Correct ?    3 Yes 3 No

Post New Answer

More OOPS Interview Questions

What is object and class in oops?

0 Answers  


What is abstraction and encapsulation?

0 Answers  


IS IT NECESSARY TO INITIALIZE VARIABLE? WHAT IF THE INSTANCE VARIABLE IS DECLARED final ? IS IT NECESSARY TO INITIALIZE THE final VARIABLE AT THE TIME OF THEIR DECLARATION?

0 Answers  


what is the difference between virtual function and destoctor?

1 Answers  


Why is abstraction used?

0 Answers  


When is it necessary to use member-wise initialization list in C++?

2 Answers   Adobe,


What is Virtual Keyword?

9 Answers   IBM, NA,


Define a class to represent a bank account. Include the following members: Data Members: Name of the Depositor Account Number Type of Account Balance amount in the account Member Functions: To assign the initial values. To deposit an account. To withdraw an amount after checking the balance. Write a C++ main program to display account number, name and balance.

6 Answers  


WAP to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)

1 Answers  


Prepare me a program for the animation of train

0 Answers  


Write on signed and unsigned integers and give three (3) examples each

1 Answers  


What is the difference between inheritance and polymorphism?

0 Answers  


Categories