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 are the types of operators in c?
What is register variable in c language?
Difference between pass by reference and pass by value?
which is conditional construct a) if statement b) switch statement c) while/for d) goto
What is an endless loop?
a character or group of characters that defines a register,or a part of storage a) memory b) byte c) address d) linear list
Can you write the function prototype, definition and mention the other requirements.
What is the difference between procedural and declarative language?
How do c compilers work?
Should I learn c before c++?
What are near, far and huge pointers?
Explain how are 16- and 32-bit numbers stored?
what is a NULL Pointer? Whether it is same as an uninitialized pointer?
Why do we use & in c?
Where register variables are stored in c?