“I bought this guide a few days ago to prepare for my interview with Oracle. Many of the questions they asked me were from this guide. I found this book absolutely great!”
function and macro is related in aspect of processing. In function first of all the functions argument is evaluated then function is evaluated but it does not happen in macro.
If we make function inline then it works like macro but again the evalution of argument is done first in function but not in macro
the basic difference b/w macro and function is that macro expand what ever we write inside it no what we write and function checks error and calculate all the mathmatical expression inside it , if it find any error it reports atonce and it does not happen in case of macros
function and macro is related in aspect of processing. In function first of all the functions argument is evaluated then function is evaluated but it does not happen in macro.
If we make function inline then it works like macro but again the evalution of argument is done first in function but not in macro
the basic difference b/w macro and function is that macro expand what ever we write inside it no what we write and function checks error and calculate all the mathmatical expression inside it , if it find any error it reports atonce and it does not happen in case of macros
Leave an Answer/Comment