What is the difference between macros and inline functions?
Answer Posted / kiran kumar yakkala
Macro- does not involve in compilation if there is any
logical error also just replaces the code
inline- look like function, but control doesn't goes to
fucntion and execute, it simply replaces the code like
macro but involves in compilation.
| Is This Answer Correct ? | 9 Yes | 2 No |
Post New Answer View All Answers
There seem to be a few missing operators ..
Explain what is #line used for?
Why array is used in c?
What is strcpy() function?
Can we use visual studio for c?
write a c program for swapping two strings using pointer
What are the different types of constants?
How reliable are floating-point comparisons?
find the sum of two matrices and WAP for it.
what is a constant pointer in C
How can I copy just a portion of a string?
What is void pointers in c?
What is New modifiers?
What is difference between static and global variable in c?
What is f'n in math?