What are the advantages/disadvantages of using #define?


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

Post New Answer

More C++ Interview Questions

There is a base class sub, with a member function fnsub(). There are two classes super1 and super2 which are sub classes of the base class sub.if and pointer object is created of the class sub which points to any of the two classes super1 and super2, if fnsub() is called which one will be inoked?

0 Answers   Alter,


What is an abstract class?

5 Answers   Siemens,


What does malloc return in C and C++?

0 Answers   Alter,


Define an Abstract class in C++?

0 Answers  


What is Coupling?

0 Answers   Cap Gemini,






Identify the errors in the following program. #include <iostream> using namespace std; void main() { int i=5; while(i) { switch(i) { default: case 4: case 5: break; case 1: continue; case 2: case 3: break; } i-; } }

1 Answers  


What is an abstract class in C++

0 Answers   SwanSoft Technologies,


What is bool in C++

0 Answers  


Is there a difference between class and struct?

0 Answers  


What is conversion constructor in C++

0 Answers   TCS,


What is meant by exit controlled loop?

0 Answers   Adobe,


Do you know about Agilent PRECOMPILERS. ?

0 Answers   Agilent,


Categories