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

Is c++ platform dependent?

0 Answers  


Name the debugging methods that are used to solve problems?

0 Answers  


What is a map in c++?

0 Answers  


what is the basic concept of c++(object oriented programing)

4 Answers   Wipro,


Write about the role of c++ in the tradeoff of safety vs. Usability?

0 Answers  


Assume an array of structure is in order by studentID field of the record, where student IDs go from 101 to 500. Write the most efficient pseudocode algorithm you can to find the record with a specific studentID if every single student ID from 101 to 500 is used and the array has 400 elements. Write the most efficient pseudocode algorithm you can to find a record with a studentID near the end of the IDs, say in the range from 450 to 500, if not every single student ID in the range of 101 to 500 is used and the array size is only 300

0 Answers  


List the special characteristics of constructor.

0 Answers  


What is object file? How can you access object file?

0 Answers  


Why cout is used in c++?

0 Answers  


What are C++ inline functions?

1 Answers  


When copy constructor can be used?

4 Answers   Symphony,


Explain the concept of copy constructor?

0 Answers  


Categories