C Programming

Why does sin fail to link in my C program?

Iโ€™m learning C and included math.h to use sin and cos, but compiling on my Linux setup ends with โ€œundefined referenceโ€ errors for those functions. The same code…