#include<iostream>
#include<stdio.h.>
using namespace std;
int main()
{
float f=11.11;
printf("%d",f);
}
When i execute the following code in dev c++ it gives the output -536870912.
When i execute the same code on online tutorials point compiler i get different on every run. What could be the reason behind?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…