What are Difference Between Using A Macro And Inline Function

Distinguish, differentiate, compare and explain what is the Difference between Using A Macro And Inline Function. Comparison and Differences.

Difference Between Using A Macro And Inline Function

The macro are just symbolic representations and cannot contain data type differentiation within the parameters that we give. The inline functions can have the data types too defined as a part of them. The disadvantage in using both is that the inclusion of condition checks may lead to increase in code space if the function is called many times.



Tags:

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 1

Filename: views/post.php

Line Number: 80

Backtrace:

File: /home/yksoft/public_html/application/views/post.php
Line: 80
Function: _error_handler

File: /home/yksoft/public_html/application/controllers/Index.php
Line: 62
Function: view

File: /home/yksoft/public_html/index.php
Line: 315
Function: require_once

Difference between vs Difference Between Using A Macro And Inline Function

Difference Between Using A Macro And Inline Function

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 1

Filename: views/post.php

Line Number: 82

Backtrace:

File: /home/yksoft/public_html/application/views/post.php
Line: 82
Function: _error_handler

File: /home/yksoft/public_html/application/controllers/Index.php
Line: 62
Function: view

File: /home/yksoft/public_html/index.php
Line: 315
Function: require_once

Differences between vs Difference Between Using A Macro And Inline Function