recategorized by
1,116 views

3 Answers

1 votes
1 votes
When doing an arithmetic calculation between two different built in types, the smaller will be converted to larger type.

So float is the correct option.
1 votes
1 votes
In arithmatic operators small data type will be convert into lager data type , so in this question int type will convert into float data type

so option b ) float is correct answer.
1 votes
1 votes

The correct answer is 

  1. float

 

The result will be of type float,because the compiler will automatically cast the result into the correct data type depending on the result of the operation,which in this case is a float.

Answer:

Related questions

4 votes
4 votes
1 answer
1
admin asked Apr 2, 2020
1,275 views
An external variableis globally accessible by all functionshas a declaration “extern” associated with it when declared within a functionwill be initialized to $0$ if ...
2 votes
2 votes
1 answer
2
admin asked Apr 2, 2020
1,908 views
If initialization is a part of declaration of a structure, then storage class can beautomaticregisterstaticanything
2 votes
2 votes
1 answer
3
admin asked Apr 2, 2020
854 views
For $x$ and $y$ are variables as declared below $\textit{double }x=0.005, \: y = – 0.01;$ What is the value of $\text{ceil }(x+y)$, where $\text{ceil }$ is a function t...
1 votes
1 votes
1 answer
4
admin asked Apr 2, 2020
1,345 views
What will be the value of $x$ and $y$ after execution of the following statement(C language) n = 5; x = n++; y = -x;$5,-4$$6,-5$$6,-6$$5,-5$