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 |
Write a program to print ASCII code for a given digit.
What is the most efficient way to count the number of bits which are set in an integer?
How can I make sure that my program is the only one accessing a file?
What is the purpose of ftell?
What is the purpose of & in scanf?
What does the c preprocessor do?
What is Dynamic memory allocation in C? Name the dynamic allocation functions.
What does void main return?
write a function that accepts an integer/char array and an search item.If the search item is there in the array return position of array and value else return -1.without using other array,without sorting,not to use more than one loop?
any "C" function by default returns an a) int value b) float value c) char value d) a & b
While compiling a c program,graphics header files are not including in my program..eg: <graphics.h>,what may be the problem...is there any environment settings exists.
Explain what is the advantage of a random access file?