Will Macros support multiple arguments ?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / ronald
variadic macros --- C99 standard
#define MY_MACRO(...)
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / lokesh chauhan
Phani Kumar S. Please give me the detailed answer not only
in Yes or No thanks
Plz correct me if i m wrong...
Regards..
Lokesh Kumar Chauhan
lokesh_kumar_chauhan@yahoo.com
Noida
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / phani kumar satpathi
yes they will support multiple arguements
they are the short forms for activate some internal
functions
| Is This Answer Correct ? | 2 Yes | 1 No |
if ENTERED FIVE DIGITS DESIGN A PROGRAM THAT WILL FIND CORRESPONDING VALUE FROM ASCII TABLE
Write a program to check prime number in c programming?
how memory store byte
1 232 34543 4567654 can anyone tell me how to slove this c question
what is an inline function?
what are the advanced features of functions a) function declaration and prototypes b) calling functions by value or by reference c) recursion d) all the above
What is an anonymous union and where to apply that ?
#include <stdio.h> void main() { int i=-1,j=1,k,l; k=!i&&j; l=!i||j; printf ("%d%d",k,l) ; }
What is include directive in c?
how to determine the complexity of an algorithm as log(n)
What are the applications of c language?
Dear Sir, we are required the bubble sorting programs Regs Prem