Computer Science, asked by srinathrajesh, 1 year ago

if value is an identifier of int type and is holding value 200, is the following statement correct?
char code = value;
float chks = value;
with reason plz

Answers

Answered by deepthadinesh2002
1
No.As the variable value is in the int type.You cannot convert it into char like that.You can use char code=(char)value .This will give you the answer required.
For anymore doubts follow me:))
Similar questions