Can you write a function similar to printf()?
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
What is token c++?
Explain the difference between overloading and overriding?
What is the handle class?
What is an incomplete type in c++?
Tell me can a pure virtual function have an implementation?
What is the function to call to turn an ascii string into a long?
wrong statement about c++ a)code removably b)encapsulation of data and code c)program easy maintenance d)program runs faster
What is a c++ map?
What is namespace & why it is used in c++?
Why cout is used in c++?
Write a program that read 2o numbers in and array and output the second largest number. Can anybody help??