![]() |
| Home | Tech FAQ | Interview Questions | Placement Papers | Tech Articles | Learn | Freelance Projects | Online Testing | Geeks Talk | Job Postings | Knowledge Base | Site Search | Add/Ask Question |
![]() Related Questions The idea behind inline functions is to insert the code of a called function at the point where the function is called. If done carefully, this can improve the application's performance in exchange Latest Answer : inline function is a function which extends the code when it is invoked. Otherwise is skip the code. ... 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 : No, we cannot generate a c++ source code from the binary file bcoz we can compile highlevel language to lowlevel language but not lowlevel language to highlevel languageMoparthi Aravind ... 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 I want C++ code forCreate method inside Principal mentor class called assignAssociates to assign associate mentors from faculty.txt to a course. Create a file named associates.txt store CourseId,FacultyId,Role. Overload assignAssociates function with arguments. Overloading Method1 with three arguments courseId,FacultyId,Role. Overloading Method2 with two arguments courseId,FacultyId. ( Section 6.17 from chapter 6. ) Overload methods compactly and conveniently by using function templates. Create Latest Answer : Saurabh, I bet you are wrong; definition of ctr is "member function which doesn't return any values and called on object creation". nobody can stop you of declaring ctr private, protected or public --it might be bad design but it's working model. At the ... Design a class for car inventory . For every new car from the manufacturer there should be minimal changes to the code. Read Answers (1) | Asked by : yathrika Class X{X(){}X(X &obj){} // supose '=' operator is also overloaded for this class. I am not writing code for that }main(){X a;X b = a;X c(&a);X d;d = a;}What is the difference between a, b, c, d objects ?
Sponsored Links
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||