Runtime type identification (RTTI) lets you find the dynamic type of an object when you have only a pointer or a reference to the base type. RTTI is the official way in standard C++ to discover the type
Latest Answer : We can only assign a derived object to a base object pointer and a base class member to a derived class member pointer. ...
What is the Basic nature of "cin" and "cout" and what concept or principle we are using on those two?
Basically "cin and cout" are INSTANCES of istream and ostream classes respectively.And the concept which is used on cin and cout is operator overloading. Extraction and Insertion operators are
Latest Answer : An algorithm is a way of manipulating container objects data. Simply said it is a special non-member function ...
Hey anybody help me to write code for this programwap which display year,month & day presents in a year for eg.1. no. is 14 print 2 weeks2. no is 90 print 3 months3. no is 365 print 1 yearuser can input any no
Write a program to dynamically create a matrix( no of rows and columns wud be provided by user at run time). Then ask a user to input elements and the nprint those elements.
Latest Answer : Standard object is that which is defined in header file which is develoved by C++ developer and contain in library of C++. It remain fix we cant make different use. It is developed for specific purpose.User define Object are those that is define by ...
Write a program that will read in a length in feet and inches and will output the equivalent length in meters and centimeter. Use at least three functions: one for input, one or more for calculating, and
Latest Answer : #include "iostream"using namespace std;struct metric{ int meters; int centimeters;};struct english{ int feet; int inches;};void input( english &value ) { std::cout