Which of the following is the correct statement to store a char constant into an integer variable? *
int a=(int) ' A' ;
char a = (int)'A';
Both a and b
None of the above
Answers
Answered by
1
Answer:
and is equal to a character a both a and b are the right answer
Similar questions
Math,
5 months ago
CBSE BOARD X,
5 months ago
Hindi,
10 months ago
Science,
10 months ago
Math,
1 year ago