無法識別的轉義序列會產生編譯時錯誤

以下示例將無法編譯:

string s = "\c";
char c = '\c';

相反,它們將在編譯時產生錯誤 Unrecognized escape sequence。