1) Escape sequences are mostly used for characters constants that either have a special meaning (such as “
or \
) or for characters that can't be represented graphically. Any character literal could be represented using hex ('\xhhhh'
) or unicode ('\0hhhh'
) escape sequences. Is there a situation where we should prefer using hex escape sequence
over unicode escape sequence
or vice versa?
2) When should we specify integer literals in hexadecimal form?
thank you