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

5. How do you round the addition or subtraction of two numbers in assembler?

0 Answers   Wipro,


what is the difference between an application and service??? i mean service which runs as in services.msc.

2 Answers  


Diff between Proc transpose and Arrays with example?

2 Answers   Accenture,


is possible to delete specific data in a row by using of sql query?

0 Answers   HCL,


why rownum=1 works properly but not rownum=>2,=>3 etc.

0 Answers   Oracle,






Java is called as pure objerct oriented programming language, where as c++ is not completely object oriented.can any explain the detailed differenec between these two

4 Answers  


Even if all fields are initialized also in a program, I am getting COBOL/400 decimal data error .why is it coming?

1 Answers   Freelance,


Explain what is OOPS and its concepts?

0 Answers   BirlaSoft,


In loading programs into memory, what is the difference between load-time dynamic linking and run-time dynamic linking?

0 Answers  


swap two number wthout using third variable

4 Answers   eClerx,


. With the help of above table EMP, perform the following operation is sql. a) Add the new column “DEPTNO” b) Rename the table c) Update table d) Modify the table if column ‘SAL’ whose data type is number (10) and you want to enter varchar2 (15) . For example $USD 20 etc.

2 Answers  


Hey this is venkatesh.Please can any body tell me what is SFLNXTCHG?where we use this keyword?what perpuse we use this?Can you tell me in real time senario with example? And in 7 specification(RPG/400)what is the mandatory specification using programs?

0 Answers  


Categories