Will Macros support multiple arguments ?

Answer Posted / agent

Yes we Macros support Multiple Arguments.

If we want to swap two value using macro how i can do if
you can do this then you know the ans.

or you can do one thing you chk greater no
By macro like
Max(30,10);

defination like :-

Max(x,y) x>y?x:y

here i m passing 2 arguments.

ok bye bye.

thx.

Is This Answer Correct ?    6 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

formula to convert 2500mmh2o into m3/hr

493


Explain the use of fflush() function?

624


pgm to find any error in linklist(in single linklist check whether any node points any of previous nodes instead of next node)

2197


in ‘C’ language for Matrix Multiplication fails” Introspect the causes for its failure and write down the possible reasons for its failure.

7387


what is the role you expect in software industry?

1649






Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database.

1491


What is string length in c?

605


What is actual argument?

587


How can I read/write structures from/to data files?

546


What are the application of void data type in c?

695


How can I trap or ignore keyboard interrupts like control-c?

616


‘SAVEPOINT’ and ‘ROLLBACK’ is used in oracle database to secure the data comment. Give suitable examples of each with sql command.

1874


What are the primitive data types in c?

570


Why do we use stdio h and conio h?

631


Explain the difference between null pointer and void pointer.

663