Ive come across this code and i initally thought it was just wrong where the , was accidently used over the . but it compiles and produces a different results to 44.4. What is happening on that line?
void main()
{
float promien, wysokosc, objetosc;
float pi = 3.1415926;
promien = 3.3;
//
wysokosc = 44,4;
//
objetosc = pi * promien * promien * wysokosc;
printf("Objetosc walca to: %f", objetosc);
getchar();
}