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....
No Answer is Posted For this Question
Be the First to Post Answer
Is there a new/delete equivalent of realloc?
Is vector a class in c++?
What is cin clear () in c++?
Describe the syntax of single inheritance in C++?
On throwing an exception by the animal constructor in p = new animalq, can memory leak occur?
how to access grid view row?
Explain the concept of copy constructor?
Explain the term memory alignment?
Does c++ have string data type?
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
How to implement flags?
What are the static members and static member functions?