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
Tell me when is a void pointer used?
What is pass by reference in c?
Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database.
What does typeof return in c?
What is enumerated data type in c?
Explain threaded binary trees?
formula to convert 2500mmh2o into m3/hr
What is the equivalent code of the following statement in WHILE LOOP format?
What is the code in while loop that returns the output of given code?
What is meant by initialization and how we initialize a variable?
An application package has been provided to you without any documents for the following application. The application needs to be tested. How will you proceed?
Why are all header files not declared in every c program?
What is linear search?
Is null a keyword in c?
A text file that contains declarations used by a group of functions,programs,or users a) executable file b) header file c) obj file d) .cfile