what will be the output of int a = 42 int b= 42.25 sop (a%10+ b% 10)
Answers
Answered by
0
Answer:
Error : Incompatible Types on line
int b = 42.25;
Explanation:
Can't store a double value inside a int variable.
Similar questions