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 are importance in problem tracking

0 Answers  


the channel in the data communication model can be? option a.postal mail serv. b telephon lines c.radio signals d. all the above

2 Answers   iNautix, National Investment Commission,


how do i create my own exception class which will restrict IO exception?

0 Answers  


Describe the following: (i) DNS (ii) Name Resolution (iii) Subnet Masking (iv) Urgent Pointer

1 Answers  


i want to insert textbox value to sql db. i have only one text box but store four values. ple give any one give sample code in asp.net c#..

1 Answers   Concentrix,






What is the difference between windows 98/2000/XP Operating Systems?

16 Answers   CMS, Siemens, TCS,


1. Write a program to create a sentence at runtime and count number of vowels in it ? 2. Write a program to get a string and to convert the 1st letter of it to uppercase ?

0 Answers   HTC,


the systematic access of small computers in a distributed data processing system is referred as?

0 Answers   Mphasis,


If i have a dataset queried from Sql and I would like to insert the dataset into a specific node in an xml document how do I do this

0 Answers   SGT,


can we extend a class having only one parameterised constructor.Suggest the process to do it.

0 Answers   Zensar,


how we can know the funcions available in a class recording java?

0 Answers  


Why data bus is bidirectional and address bus is unidirectional?

4 Answers   Infosys, Wipro,


Categories