What is java and c++?
No Answer is Posted For this Question
Be the First to Post Answer
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 asingle linked list which read from two list & the do the following 1 sort the prime & nonprime num (prime should be less tn nonprime) 2 each node has a prime num followd by nonprime 3 add a new node into its sutable plce 4 erase the most three duplicated non prime num 5 find the least duplicated prime num
If you had the following code: int x = 23; int *y; y = &x; The instruction y++; does what?
Can you sort a set c++?
Comment on local and global scope of a variable.
Why pure virtual functions are used if they don't have implementation / When does a pure virtual function become useful?
How do I get good at c++ programming?
Explain about templates of C++.
How can you force instantiation of a template?
What is functions syntax in c++?
What is abstraction in c++ with example?
Can malloc be used in c++?