Does c++ vector allocate memory?
No Answer is Posted For this Question
Be the First to Post Answer
What is the Standard Template Library?
What does return 0 do in c++?
What is void pointer in c++ with example?
Are strings immutable in c++?
Mention the ways in which parameterized can be invoked. Give an example of each.
What are formatting flags in ios class?
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
In inline " expression passed as argument are evalauated once " while in macro "in some cases expression passed as argument are evaluated more than once " --> i am not getting it plz help to make me understand....
0 Answers College School Exams Tests, CS,
What are function prototypes?
What is a local reference?
How the delete operator differs from the delete[]operator?
Would you rather wait for quicksort, linear search, or bubble sort on a 200000 element array? (Or go to lunch...) a) Quicksort b) Linear Search c) Bubble Sort