![]() Related Questions Classes and objects are separate but related concepts. Every object belongs to a class and every class contains one or more related objects. Ø A Class Latest Answer : Class is a combination of data member & member function where object is used for calling function In class we declare In object we call ... Virtual destructors: If an object (with a non-virtual destructor) is destroyed explicitly by applying the delete operator to a base-class pointer to the object, the base-class destructor function (matching Latest Answer : Virtual constructor is not build-in C++ feature but it doesn't mean its not used by devs in code and in conversations. There are many other things that doesn't exist in particular language yet, people find ways around to solve it (SingleTon, Virtual Constructor, ... Latest Answer : if the solution is needed for the unix platform. Then you can create a pthread at the bottom of the program, take the current process id of the parent and make it a deamon by using the standard unix calls like detach(), chdir().. etc. Check if the parent ... What will be output of the following code#includeusing namespace std;class abc{ public : void main() { cout 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 Latest Answer : include#includeusing namespace std;int main(){ fstream *obj = new fstream(); obj->open ("main.cpp"); ... Read Answers (4) | Asked by : arup 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. Suppose there is a txt file with following format:Student name Grades in subjectsX ABA+CDA+Y B+CAA+AAthere can be many students with there grades in various subjects. (number of subjects are unknown)Possible values of grade are: A, A+, B, B+, C, D now suppose the file gets corrupted and all '+' are replaced by 'A'Write a program to restore the file Tags : Restore Latest Answer : In LINUX environment one can use VALGRIND and MPATROL free tools to find out possible memory leaks in programs. ... Read Answers (6) | Asked by : rusty_man Write a program to concatenate two circular linked lists into a single circular list. Latest Answer : class node {public: node(int n) : m_n(n) { m_pNext = this; } ~node() {} void SetNext( node* p ) { m_pNext = p; } node* GetNext() const { return m_pNext; } int GetData() const { return m_n; } static ...
Sponsored Links
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||