Computer Science, asked by Robinpreet3473, 8 months ago

What is the resultant datatype of the following mathematical expressions ?
a+b*c-d
Where a is int, bis int, c is float and d is float type.

Answers

Answered by Akifzeyakhan
0

Answer:The output of above program is "4 8 4" on a typical C compiler.It actually prints size of float, size of double and size of float. The values used in an expression are considered as double (double precision floating point format) unless a ‘f’ is specified at the end.

Explanation:

Answered by Anonymous
1

Answer:

Hi...

Explanation:

I think it will be float...

Hope it helps you

Please mark brainliest

Similar questions