KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I want to define a constant string containing non printable characters in C. For e.g - Let say I have a string char str1[] ={0x01, 0x05, 0x0A, 0x15}; Now I want to define it like this char *str2 = "<??>" What should I write in place of <??> do define an string equivalent to str1 ?
Tags (comma-separated)
Save Edits
Cancel