KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I want to assign the value of aphostrophe to a char: char a = '\''; However I would like to use the unicode version of apostrophe (\u0027) to keep it consistent with my code: char a = '\u0027'; But doing it this way gives an error saying "unclosed character literal". How can I do this assignment while still having the unicode code in the code?
Tags (comma-separated)
Save Edits
Cancel