Take a Quiz
All Products
Brain Games
ProProfs.com
Change Image Delete
Answered Sep 09, 2016
Char c1 = 064770;-2.
Char c3 = 0xbeef;-3.
Char c6 = \ \\uface\ ;
Char c1 = 064770; is an octal representation of the integer value 27128, which is legal because it fits into an unsigned 16-bit integer.
Char c3 = 0xbeef; is a hexadecimal representation of the integer value 48879, which fits into an unsigned 16-bit integer.
Char c6 = \\uface; is a unicode representation of a character.
Forgot your password?