When i tried to run the trunc function in C it gives me an error that says undefined reference to `trunc' how to resolve this error?
the error code is here:
/usr/bin/ld: /tmp/ccTANPox.o: in function `floatmod': temp1.c:(.text+0x3a6): undefined reference to `trunc' collect2: error: ld returned 1 exit status