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 is the difference between macros and inline functions?

Answer Posted / jayapradap a

the way they are handled. Inline functions are parsed by the compiler, whereas macros are expanded by the C++ preprocesso these are The major difference between inline functions and macros

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain threaded binary trees?

1105


Are there any problems with performing mathematical operations on different variable types?

992


What is the advantage of c?

1047


What is pragma in c?

1130


What are the disadvantages of external storage class?

1005


Can a function be forced to be inline? Also, give a comparison between inline function and the C macro?

1048


Is using exit() the same as using return?

1250


How can you be sure that a program follows the ANSI C standard?

1561


Explain how do you list a file’s date and time?

988


What is the right way to use errno?

1003


What is static memory allocation? Explain

1033


What is LINKED LIST? How can you access the last element in a linked list?

1019


Differentiate between #include<...> and #include '...'

1004


What is the difference between NULL and NUL?

1245


Write an efficient algo and C code to shuffle a pack of cards.. this one was a feedback process until we came up with one with no extra storage.

1016