clears all values, attributes, messages and options associated with the given symbols. The arguments can also be given as strings containing symbol names.
x = 2;
ClearAll[x]
x
Attributes[r] = {Flat, Orderless};
ClearAll[r]
Attributes[r]
ClearAll may not be called for Protected or Locked symbols.