Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What are the advantages of Macro over function?

Answer Posted / hrpynux@gmail.com

When writing macros for functions, they saves a lot of time that is spent by the compiler for invoking / calling the functions. Hence, The advantage of a macro over an actual function, is speed. No time is taken up in passing control to a new function, because control never leaves the home function.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is recursion in C

1117


What is 1f in c?

2728


Explain how can you tell whether two strings are the same?

1077


What are the uses of a pointer?

1197


Which one to choose from 'initialization lists' or 'assignment', for the use in the constructor?

1134


What is structure in c language?

1237


Explain what is output redirection?

1246


Why is not a pointer null after calling free? How unsafe is it to use (assign, compare) a pointer value after it is been freed?

1214


Explain what is the concatenation operator?

1230


Write a program to swap two numbers without using third variable?

1350


hi to every one .. how to view table pool after creating the pooled table? plz help me.. if any knows abt this ..

1958


Why isnt any of this standardized in c?

1125


What is array within structure?

1172


write a program to find the given number is prime or not

4841


program to find error in linklist.(i.e find whether any node point wrongly to previous nodes instead of next node)

2146