1.

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
Answer» C. 3, 5


Discussion

No Comment Found

Related MCQs