how to invoke the macro in another macro?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Given a cube of size n*n*n (i.e made up of n^3 smaller cubes), find the number of smaller cubes on the surface. Extend this to k-dimension.

677


How does the type system works when there is interoperability between a COM and .Net, i mean what exactly happens there

1568


How to merge Action Form with Dyna Action Form in Struts.

1896


how many types of bytes are there???

1991


what are the 3 forms of a prolog term

2757






I am looking for NIC Sample papers or any patern of questions/ syllabus plz, send me on hamid.khan135@yahoo.in Regard

1543


Hi can you please help for the following. I have a ASP.Net web page I want to print the whole page how is it possible? I want It in ASP also.Please send me the solutions dipankar.hazari@gmail.com . Thanks in advance.

2326


What is Negative testing?

1505


In an customer exit (include Z) program, only the last record is getting fetched. The exit is getting called after pressing save button. What to write for fetching the first record ? Before saved to a SAP table how can i call all these records in an itab in the exit ?

1517


hai i am prasanna.I am MCA 2009 fresher.tell me about certifications.which certification helps me to improve my carrier and to get a technically oriented job ,which certification helps to get job faster.

2019


in IBM PC -AT.WAT AT REFERS TO?

1430


hi This is radhika.Can anyone help me to know the question papers of NATIONAL INFORMATICS CENTRE for the post of scientific officer/engineer? if anyone know plz tell me question paper pattern

1534


Busy waiting is a method whereas a taskwaits for a given event by continiously checking for an event to occur. What is the main problem with this approach

1412


If u need any fake experience certificate in software side, contact me at: vikramyadhav@gmail.com

7847


what is session state?

1528