Assign '\' to char
<p>How do I assign the value of '\' to a character variable? </p>

<p>C++ doesn't recognize the backslash as a character and thinks there should be a 't' or 'n' or something afterwards.</p>

<p>How can the <code>\</code> be assigned to a <code>char</code> variable? </p>