What is using namespace std in c++?
No Answer is Posted For this Question
Be the First to Post Answer
What are the popular tools used to detect memory leaks in c++
How to access a variable of the structure?
How many lines of code you have written for a single program?
How to give an alternate name to a namespace?
What do you mean by function overriding & function overloading in c++?
Which coding certification is best?
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
Define copy constructor.
What is istream and ostream in c++?
What is the best c++ book for beginners?
Write a program using display() function which takes two arguments.
What is the difference between *p++ and (*p)++ ?