Q. Choose a right statement.
Code:
int a = 5/2; int b = 5.0/2; int c = 5 / 2.0; int d = 5.0/2.0;
β
Correct Answer: (A)
a = 2, b = 2, c = 2, d= 2
int a = 5/2; int b = 5.0/2; int c = 5 / 2.0; int d = 5.0/2.0;
You must be Logged in to update hint/solution