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
Given an array all of whose elements are positive numbers, find the maximum sum of a subsequence with the constraint that no 2 numbers in the sequence should be adjacent in the array. So 3 2 7 10 should return 13 (sum of 3 and 10) or 3 2 5 10 7 should return 15 (sum of 3, 5 and 7)
write a query that returns one row for each department and the number of employees in that department. Given two tables EMPLOYEE and DEPARTMENT, where there can be multiple employees per department.
hi i m deepak my shedule for NIC pi is 17 Apr please contact me if anybody has interview on same day or give me some idea who have faced
what is the main usage of an abstract keyword?please follow the program class A { void display() { System.out.println("hai"); } void print() { } } class B extends A { void print() { System.out.println("Hello"); } } In this program i was gives the implementation of print() according to my requirements in subclass.And there is no definition in superclass then why we can use abstract keyword before a method that i want to gives definition in other classes,is any mistakes in the above usage of method?
what are all the ant command options
Diff between IF and where ?
when we use mantis? how learn mantis?
Please describe an example where you used object orientation in one of your programs.
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!
what are stubs related to foxpro?
What are two of your strengths that you will bring to our QA/testing team?
what is technical system, business system, logical system in sap pi7.0
what is meant by life cycle of a business
what is web service in java? have u use before.
can we retrieve only integer/String type columns from a table,if yes how?