answersLogoWhite

0

What else can I help you with?

Related Questions

What are the two types of constant in c plus plus?

Constant data and constant functions.


Static vs dynamic binding in c plus plus?

Static binding occurs at compile time. Dynamic binding occurs at runtime.


Can there be friend functions in c plus plus?

Yes, there can be friend functions in C++.


How dynamic binding acheived in c plus plus?

Dynamic binding is achieved via virtual functions and the virtual table that is associated with every class that declares or inherits a virtual function. The virtual table (or v-table) maps every virtual function (including pure-virtual functions) to a function pointer that points to the most-derived overload. This makes it possible to invoke specific behaviour even when the runtime type of the object is unknown to the caller.


What keyword is used to find derivative in C plus plus?

The lazy way is to use a dynamic cast. The correct way is to use virtual functions in the base class. That way you don't ever need to know the derived type -- it simply does what is expected of it.


How do you begin c plus plus?

By working from the inside out. Since all functions and data types must be forward declared, it makes sense to design these first. This means you must break the problem down into its component parts, identify the key classes and other data types required by your program and design them first.


Is overriding a dynamic polymorphism in c plus plus or not?

In C++, overriding and function, method, or operator is a different thing than (dynamic) polymorphism, so overriding a polymorphic method is almost entirely possible.


Why functions are not used in c plus plus?

Of course they are used. Both stand-alone and class-member functions are used in C++.


Why c plus plus is not complete object oriented language?

because c++ supports all the basic concepts of oop :1.objects,2.classes,3.data abstraction and encapsulation,4.inheritance,5.polymorphism,6.dynamic binding,5.message passing.


Representation of stack data structure in c plus plus?

Stack is an abstract data type that allows you to input and output data in a way that the first data which was placed in the stack will be the last one to get out. We use physical examples of stack in our daily lives such as the stack of dishes or stack of coins where you only add or remove objects from the top of the stack. You can see the implementation in c++ in related links, below.


Printf and scanf Operators in C and C plus plus?

No, they are functions. Operators are -> or ++or /=


How many main functions are used in c plus plus program?

One.