Can recursive program be written in C++?
No Answer is Posted For this Question
Be the First to Post Answer
Explain the difference between overloading and overriding?
Are there any special rules about inlining?
What are access specifiers in C++?
What do you mean by translation unit in c++?
What is a concrete class?
What is #include cstdlib in c++?
Is it possible to use a new for the reallocation of pointers ?
Describe functional overloading?
class Alpha { public: char data[10000]; Alpha(); ~Alpha(); }; class Beta { public: Beta() { n = 0; } void FillData(Alpha a); private: int n; }; How do you make the above sample code more efficient? a) If possible, make the constructor for Beta private to reduce the overhead of public constructors. b) Change the return type in FillData to int to negate the implicit return conversion from "int" to "void". c) Make the destructor for Alpha virtual. d) Make the constructor for Alpha virtual. e) Pass a const reference to Alpha in FillData
Write a corrected statement in c++ so that the statement will work properly. if (x > 5); y = 2*x; else y += 3+x;
Write a program and call it sortcheck.cpp which receives 10 numbers from input and checks whether these numbers are in ascending order or not. You are not allowed to use arrays. You should not define more than three variables
1.what is the difference between software & package &application.