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

Post New Answer

More C++ General Interview Questions

Is there a new/delete equivalent of realloc?

1 Answers  


Is vector a class in c++?

0 Answers  


What is cin clear () in c++?

0 Answers  


Describe the syntax of single inheritance in C++?

0 Answers   Fidelity,


On throwing an exception by the animal constructor in p = new animalq, can memory leak occur?

0 Answers  






how to access grid view row?

0 Answers  


Explain the concept of copy constructor?

0 Answers  


Explain the term memory alignment?

0 Answers  


Does c++ have string data type?

0 Answers  


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

2 Answers   Quark,


How to implement flags?

2 Answers   Symphony,


What are the static members and static member functions?

1 Answers  


Categories