Could please tell why compiler is not allowing this type cast...Error compiler showing is " Invalid static_cast from float * to int * "
#include<iostream>
using namespace std;
int main()
{
   float f=45.678;
   float *a;
   a=&f;
   int *d;
   cout<<static_cast<int *>(a);
}
 
     
    