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
What is the concatenation operator?
Q.1 write aprogram to stack using linklist o insert 40 items? Q.2 write a program to implement circular queue with help of linklist?
Explain what is a const pointer?
Is file a keyword in c?
write a program to copy the string using switch case?
Difference between linking and loading?
Write a program to reverse a given number in c?
Is javascript written in c?
What is mean by data types in c?
What does c mean in standard form?
How can I find the modification date and time of a file?
Who developed c language?
What is malloc and calloc?
What is c programming structure?
#define PRINT(int) printf("int = %d ",int) main() {< BR> intx,y,z; x=03;y=02;z=01; PRINT(x^x); z<<=3;PRINT(x); y>>=3;PRINT(y); }