Pattern matching in Elixir

Analyze the snippet given below and determine its output.

{a, a} = {4, 7}

Options
  1. 4
  2. 7
  3. 11
  4. A (MatchError) will occur

Related Posts