how to invoke the macro in another macro?



how to invoke the macro in another macro?..

Answer / guest

do it normally....

#define HHH(x) (x*x)
#define YYY(y) (y+y)

cout << HHH(YYY(5)) <<endl;

o/p -- 100

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More Programming Languages AllOther Interview Questions

what is the extension of SPDS Dynamic cluster tables?

0 Answers   IBM,


Define Form modules, Class modules and Standard modules

0 Answers   Global Hunt,


Given a arbitrary pointer to an element in a singly linked list?what is the time complexity for its deletion .

1 Answers   Hughes,


How can successful and thorough systems planning, analysis, and design be ruined by poor systems construction and implementation? How can poor systems analysis or design ruin a smooth construction and implementation? For both questions, list some consequences

1 Answers  


Wrtite a JCL for sorting a file with start from 36 postion lenth 9 excluding a num eq to 98768. for 3 marks mainframe

0 Answers  






Write a program to implement BFS/ DFS routine in a connected graph

1 Answers  


what is the current salary package in India for a lamp programmer

0 Answers   HCL,


what are stubs related to foxpro?

0 Answers  


what is the difference between Windows application and Unix application?

0 Answers   Satyam,


Given three sides of a triangle. Write the Program to determine whether the triangle is : 1) Invalid 2) Right Angled 3) Isoscales 4) Equilateral 5) Not Special An Isoscales right angled triangle should be taken as a Right Angled Triangle

3 Answers   FFC, Goldman Sachs, Student,


What is SOLID Principle in Programming Language?

0 Answers   NA,


How same session variable can be used in both Asp and Asp.net?

1 Answers   Wipro,


Categories