What is the difference between macros and inline functions?
Answer Posted / jayapradap a
the way they are handled. Inline functions are parsed by the compiler, whereas macros are expanded by the C++ preprocesso these are The major difference between inline functions and macros
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Explain threaded binary trees?
Are there any problems with performing mathematical operations on different variable types?
What is the advantage of c?
What is pragma in c?
What are the disadvantages of external storage class?
Can a function be forced to be inline? Also, give a comparison between inline function and the C macro?
Is using exit() the same as using return?
How can you be sure that a program follows the ANSI C standard?
Explain how do you list a file’s date and time?
What is the right way to use errno?
What is static memory allocation? Explain
What is LINKED LIST? How can you access the last element in a linked list?
Differentiate between #include<...> and #include '...'
What is the difference between NULL and NUL?
Write an efficient algo and C code to shuffle a pack of cards.. this one was a feedback process until we came up with one with no extra storage.