ERLANG Questions and Answers

Mention what is the syntax to write Macros in Erlang?

The syntax used to write Macros in Erlang is

• define ( Const, Replacement ).
• define ( Fun ( Var1 , Var2, …., Var ) , Replacement )