What are the types of macro formats?



What are the types of macro formats?..

Answer / Vishal Kumar Mishra

Macros in C are text replacements that allow you to define shorthand for frequently used code. There are two main types of macros: function-like macros (FLMs) and replacement macros (RMs). FLMs mimic the behavior of functions, taking arguments within parentheses, while RMs replace their name with a series of text replacements.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

What is #include stdio h?

1 Answers  


Explain how do you generate random numbers in c?

1 Answers  


Explain why c is faster than c++?

1 Answers  


What is calloc()?

1 Answers   Adobe,


Program to find the sum of digits of a given number until the sum becomes a single digit

8 Answers   InterGraph,


How does memset() work in C?

2 Answers  


difference between the array and linked list general difference related to memory

2 Answers  


What is a function simple definition?

1 Answers  


What are the benefits of c language?

1 Answers  


What is function definition in c?

1 Answers  


Given an array of characters which form a sentence of words, give an efficient algorithm to reverse the order of the words (not characters) in it?

3 Answers  


WRITE A PROGRAM TO PRINT THE FOLLOWING OUTPUTS USING FOR LOOPS. A) * B) ***** *** * * ***** * * *****

2 Answers  


Categories