Explain the difference between using macro and inline functions?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C++ General Interview Questions

What is volatile and pragma? When they are used?

1 Answers  


Is there anything you can do in C++ that you cannot do in C?

1 Answers  


What is the role of static keyword for a class member variable?

0 Answers  


What is an adaptor class or Wrapper class?

1 Answers  


What are different types of loops in c++?

0 Answers  






Write a program that will count the number of digits in an input integer up to value MAX_VALUE (2147483647). Thus, for an input of 5837 the output should be 4 digits Make sure that your program works for the numbers 0, 1, and 10. For the number 0, the output should be 1 digit

2 Answers  


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

0 Answers  


What is the v-ptr?

0 Answers  


what is the use of templates?

3 Answers  


What is size of empty class object

5 Answers   CA,


What is the difference between structures and unions?

0 Answers  


What is difference between n and endl in c++?

0 Answers  


Categories