Computer Science, asked by rahultirkey492, 9 months ago

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 tanderiyaashu
1

Answer:

and is equal to a character a both a and b are the right answer

Similar questions