Hey guys I was wondering why my program was just returning junk and I found out that I didn't include math.h. But why did the code even compile and run if there isn't any definition for the function ?
#include <stdio.h>
int main()
{
int ka = 0;
ka = sqrt(4);
printf("ha ist %d", ka);
system("PAUSE");
return 0;
}