Is java easier than c++?
No Answer is Posted For this Question
Be the First to Post Answer
What do you mean by volatile and mutable keywords used in c++?
What does override mean in c++?
what is data encapsulation in C++?
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
Differentiate between an inspector and a mutator ?
What does getch() do according to the ANSI C++ standard a) Reads in a character b) Checks the keyboard buffer c) Nothing in particular (Its not defined there)
When is a template a better solution than a base class?
What is the type of 'this' pointer? When does it get created?
Write a code/algo to find the frequency of each element in an array?
How are pointers type-cast?
What is null and void pointer?
What is function overriding?