Question discussion

Which of the following is a correct way to declare a char type variable x in C?

359039Medium DSSSB TGT Computer Science 0 replies 0 views
0
Which of the following is a correct way to declare a char type variable x in C?
  • Achar x;
  • Bchar = 'x';
  • Cch x;
  • Dcharacter x;
Correct answer: A

Explanation

A char variable is declared as "char x;".

Discussion 0

Nobody has replied yet. Start the discussion!