#include &lt;iostream&gt;    using namespace std;    int main&#40;&#41;    &#123;        float f1 = 0.5;        double f2 = 0.5;        if &#40;f1 == 0.5f&#41;            cout &lt;&lt; &quot;equal&quot;;        else            cout &lt;&lt; &quot;not equal&quot;;        return 0;    &#125;
A. equal
B. not equal
C. compile time error
D. runtime error
Answer:A
#include &lt;iostream&gt;    using namespace std;    int main&#40;&#41;    &#123;        float f1 = 0.5;        double f2 = 0.5;        if &#40;f1 == 0.5f&#41;            cout &lt;&lt; &quot;equal&quot;;        else            cout &lt;&lt; &quot;not equal&quot;;        return 0;    &#125;
A. equal B. not equal C. compile time error D. runtime error
Explanation:0.5f results in 0.5 to be stored in floating point representations.