Which one is better- macro or function?


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

Post New Answer

More C++ General Interview Questions

What is a node class in c++?

0 Answers  


why and when we can declar member fuction as a private in the class?

0 Answers  


Using a smart pointer can we iterate through a container?

0 Answers  


this is to swap to strings....but in output the whole strings are swapped leaving first as it is...why it is so #include<iostream.h> int main() { char a[]="ajeet"; char b[]="singh"; long x=*a; long y=*b; cout<<x<<":"<<y; x=x+y; y=x-y; x=x-y; *a=x; *b=y; cout<<x<<":"<<y; cout<<&a<<endl; cout<<&b<<endl; }

1 Answers  


Do class declarations end with a semicolon? Do class method definitions?

0 Answers  






What is c++ & why it is used?

0 Answers  


What are c++ tokens?

0 Answers  


What are pointer-to-members? Explain.

0 Answers   iNautix,


what is c++

0 Answers  


What is the array and initializing arrays in c++?

0 Answers  


What is ifstream c++?

0 Answers  


Why would you make a destructor virtual?

3 Answers   Lehman Brothers,


Categories