Which three are valid declarations of a char?1. char c1 = 064770;2. char c2 = 'face';3. char c3 = 0xbeef;4. char c4 = \u0022;5. char c5 = '\iface';6. char c6 = '\uface'; - Study24x7
Social learning Network
16 Feb 2023 03:11 PM study24x7 study24x7

Which three are valid declarations of a char?
1. char c1 = 064770;
2. char c2 = 'face';
3. char c3 = 0xbeef;
4. char c4 = \u0022;
5. char c5 = '\iface';
6. char c6 = '\uface';

A

1, 2, 4

B

1, 3, 6

C

3, 5

D

5 only

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles