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 inline functions and macros?

Answers were Sorted based on User's Feedback



What is the difference between inline functions and macros?..

Answer / nashiinformaticssolutions

• Inline Functions: Type-checked, replace function calls with code during compilation.
• Macros: Preprocessor directive, no type-checking.

Is This Answer Correct ?    0 Yes 0 No

What is the difference between inline functions and macros?..

Answer / nashiinformaticssolutions

1. Macros: Text substitution; no type checking.
2. Inline functions: Replaced at runtime; provide type checking and debugging benefits.

Is This Answer Correct ?    0 Yes 0 No

What is the difference between inline functions and macros?..

Answer / glibwaresoftsolutions

1. Macros: Text substitution; no type checking.
2. Inline functions: Replaced at runtime; provide type checking and debugging benefits.

Is This Answer Correct ?    0 Yes 0 No

What is the difference between inline functions and macros?..

Answer / glibwaresoftsolutions

• Inline Functions: Type-checked, replace function calls with code during compilation.
• Macros: Preprocessor directive, no type-checking.

Is This Answer Correct ?    0 Yes 0 No

What is the difference between inline functions and macros?..

Answer / hr@tgksolutions.com

• Inline Functions: Type-checked, replace function calls with code during compilation.
• Macros: Preprocessor directive, no type-checking.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C++ General Interview Questions

Which is the best c++ compiler for beginners?

0 Answers  


What is a pointer how and when is it used?

0 Answers  


What is a literal in c++?

0 Answers  


Write syntax to define friend functions in C++.

0 Answers   HAL,


What is std namespace in c++?

0 Answers  


How would you use the functions memcpy(), memset(), memmove()?

0 Answers  


Explain storage qualifiers in c++.

0 Answers  


What is the difference between a class and a structure in C++?

1 Answers  


How many types of classes are there in c++?

0 Answers  


What are associate containers?

0 Answers  


How is an Abstract Base Class(ABC) related to an "Abstract Data Type" (ADT)

2 Answers  


What does catch(…) mean?

0 Answers  


Categories