what is the resultant data type of following mathematical expression? a+b*c-d where a is float b is long c and d are int type
Answers
Answered by
1
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......☺
Similar questions
English,
4 months ago
Social Sciences,
8 months ago