int x;
x= (int) (7.0/2);
I need to know why it is essential to use (int) in the statement above?
What is it called?
How it would be without (int), is it correct?
Type: Posts; User: websit
int x;
x= (int) (7.0/2);
I need to know why it is essential to use (int) in the statement above?
What is it called?
How it would be without (int), is it correct?