What is the difference between macros and inline functions?
Answer Posted / karna
when macro function executing the program control go to that macro function definition part
when inline function executed the definition part of function
came in inline functin call part and executed...program control not chance in any where of the program...
Is This Answer Correct ? | 7 Yes | 3 No |
Post New Answer View All Answers
What are the differences between new and malloc in C?
What is a string?
How can you increase the allowable number of simultaneously open files?
What is the use of #define preprocessor in c?
What are all different types of pointers in c?
What is pivot in c?
What does typedef struct mean?
Calculate the weighted average of a list of n numbers using the formula xavg = f1x1+f2x2+ ….+ fnxn where the f’s are fractional weighting factors, i.e., 0<=fi<1, and f1+f2+….+fn = 1
What is printf () in c?
What is NULL pointer?
Which header file is used for clrscr?
What is a file descriptor in c?
Is the exit() function same as the return statement? Explain.
Explain how can I convert a string to a number?
What is the difference between single charater constant and string constant?