How does code-bloating occur in c++?
No Answer is Posted For this Question
Be the First to Post Answer
How static variables and local variablesare similar and dissimilar?
what are the iterator and generic algorithms.
What is the difference between structure and class?
Discuss the possibilities related to the termination of a program before entering the mainq method?
#include<iostream.h> void main() { class x { public: int func(int) { cout<<"cool"; return 1; } } }
What are the advantages of pointers?
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
advantages and disadvantages of using Borland C++ / version 5.
When to use Multiple Inheritance?
write a program that will produce the ff. output. "what fruit will you buy? 1)apple 2)orange 3)mango ENTER CHOICE (1,2 or 3)> HOW MANY WILL YOU BUY?> THAT WILL COST XX.XX
What do you mean by abstraction. Explain your answer?
What do manipulators do?