“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
In macro the cod or the value is been replaced but in function during every call ait transfer the control to that function and there is no replacement of the code.common thing is i suppose nothing but when function is make inline it works same as 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
In macro the cod or the value is been replaced but in function during every call ait transfer the control to that function and there is no replacement of the code.common thing is i suppose nothing but when function is make inline it works same as macros
Leave an Answer/Comment