Answer Posted / hrpynux@gmail.com
When writing macros for functions, they saves a lot of time that is spent by the compiler for invoking / calling the functions. Hence, The advantage of a macro over an actual function, is speed. No time is taken up in passing control to a new function, because control never leaves the home function.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is a struct c#?
What is the code in while loop that returns the output of given code?
What are the differences between new and malloc in C?
What is the difference between malloc() and calloc() function in c language?
What does c mean in standard form?
Which one would you prefer - a macro or a function?
What is the c language function prototype?
Write a C++ program to generate 10 integer numbers between - 1000 and 1000, then store the summation of the odd positive numbers in variable call it sum_pos, then find the maximum digit in this variable regardless of its digits length.
Explain heap and queue.
Should a function contain a return statement if it does not return a value?
What is string function c?
write a proram to reverse the string using switch case?
why programs in c are running with out #include
Explain the use of 'auto' keyword
I was asked to write a program in c which when executed displays how many no.of clients are connected to the server.