function vs macro

What is the difference between an inline function and a macro.What I know is both of them expand and no control is passed anywhere when these are used.
Topic archived. No new replies allowed.