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 memory leak in c?
How do you determine a file’s attributes?
Is c is a high level language?
How is actual parameter different from the formal parameter?
What is a pointer on a pointer in c programming language?
What is the difference between int main and void main?
What does sizeof function do?
When should we use pointers in a c program?
What are the __date__ and __time__ preprocessor commands?
How can I sort a linked list?
What is mean by Data Driven framework in QTP? Can any one answer me in details on this regard.
What is the right type to use for boolean values in c?
What is signed and unsigned?
This is a variation of the call_me function in the previous question:call_me (myvar)int *myvar;{ *myvar += 5; }The correct way to call this function from main() will be a) call_me(myvar) b) call_me(*myvar) c) call_me(&myvar) d) expanded memory
"C" language developed by "Dennis Ritchie" at AT & T. his remarks are a) too general, too abstract b) could deal with only specific problems c) lost generality of BCPL and B restored d) no remarks