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

what is radio button? Plz show code this! how will select radio buttons to go next window Forms? Supose o radio button1 o radio button2 o radio button3 o radio button4 how will coding this? Plz explain this!

2991


smal talk is pure object oriented or not?

1598


Write a program that prints the numbers from 1 to 100. But for multiples of three print "Fit" instead of the number and for the multiples of five print "Bit". For numbers which are multiples of both three and five print "FitBit".

2055


I want sample papers for NIC Examination. Plz send them to my mail Id das.neelam@gmail.com . Plz send it today, tomorrow i've the exam.

1657


What is easiest way to get the PL/i compiler,I didn't have found the compiler in my library. Is there any extra cost if we want to access the PL/1 programs?Actually we r having Mainframe rented training Ids

1722






please any one pass file aid,xpeditor and endeavor tools

1992


what is woransient key word? how it is used in java

1904


Which CRM is better to opt, Sebiel CRM or Salesforce CRM or sap CRM? which institute is best one in hyderabad

1951


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 ?

3292


1.what is the vesition managment.

1800


What are two of your strengths that you will bring to our QA/testing team?

1722


why not instantiating servet using new operator?

1593


When we have two versions of the dot net installed how does the compiler know which version of DLL it has to select to an application.

1511


Suppose server object is not loaded into the memory, and the client request for it , what will happen?

2293


How will you prove that java swing is multithreaded?

1789