How a macro differs from a template?


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

Post New Answer

More C++ General Interview Questions

What is a constructor initializer list and when we use constructor initializer list?

3 Answers   Soft Info, TCS,


What is the difference between the functions rand(), random(), srand() and randomize()?

0 Answers  


Write a program to find the reverse Fibonacci series starting from N.

0 Answers   Huawei,


What is pointer to array in c++?

0 Answers  


Which of the following operator cannot be overloaded?

2 Answers   TCL,






What are the implicit member functions of class?

0 Answers  


Write about c++ storage classes?

0 Answers  


Is java the same as c++?

0 Answers  


Can we use this pointer inside static member function?

0 Answers  


Evaulate: 22%5 a) 2 b) 4 c) 0

0 Answers  


Design a program to input a date from user in the form day/month/year (e.g. 2/6/2000) and report whether it’s a valid date or not. The program should take account of leap years. You will need to know that a leap year is a year that is exactly divisible by 4, except that century years are only leap years if they are divisible by 400.

1 Answers  


What are its advantages and disadvantages of multiple inheritances (virtual inheritance)?

0 Answers  


Categories