hi there
please help me i was writing a program in which i declared a:
const float pie=3.14;
but i am getting a warning message each time as "truncation from const double to const float. plz help me why it is so?
3.14 is a double by default. Write 3.14f to make it a float.