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
Is it better to bitshift a value than to multiply by 2?
write a progrmm in c language take user interface generate table using for loop?
what is event driven software and what is procedural driven software?
Explain what will be the outcome of the following conditional statement if the value of variable s is 10?
in case any function return float value we must declare a) the function must be declared as 'float' in main() as well b) the function automatically returned float values c) function before declared 'float' keyword d) all the above
Write a program to print factorial of given number without using recursion?
a) Identify the following declarations. Ex. int i (integer variable) float a[l0](array of 10 real nos) int (*f())() void *f int (*f()) [] void *f int f[] [] [] char *(*f) () int (*f[]) [] float(*f) [] [] float **f int ******f
What is output redirection?
Explain what is the difference between text files and binary files?
Define circular linked list.
What is oops c?
What is a pointer and how it is initialized?
What is the use of a conditional inclusion statement in C?
Can a function be forced to be inline? Also, give a comparison between inline function and the C macro?
With the help of using classes, write a program to add two numbers.