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
How does selection sort work in c?
Explain about the constants which help in debugging?
main() { printf("hello"); fork(); }
Write a program to compute the similarity between two strings - The program should get the two strings as input - Then it will output one single number which is the percentage of similarity between the two strings
What is the use of parallelize in spark?
Which header file is essential for using strcmp function?
Explain do array subscripts always start with zero?
Can you think of a logic behind the game minesweeper.
What are the properties of union in c?
write a program that will open the file, count the number of occurences of each word in the the complete works of shakespeare. You will then tabulate this information in another file.
Find MAXIMUM of three distinct integers using a single C statement
int i[2], j; int *pi;i[0] = 1; i[1] = 5; pi = i; j = *pi + 1 + *(pi + 1)Value of j after execution of the above statements will be a) 7 b) 6 c) 4 d) pointer
In c language can we compile a program without main() function?
Explain what is the difference between functions abs() and fabs()?
Explain what could possibly be the problem if a valid function name such as tolower() is being reported by the c compiler as undefined?