Question: Which choice is the proper syntax to append a new elements `a` to the end of 1x 2 dimensional cell array `C`?

  1. C = {C a};
  2. C = cellcat(C a)
  3. C = cat(2, {a}, C)
  4. C{end+1}=a

Answer: The correct answer of the above question is Option D:C{end+1}=a