error in c++

what is the “error: ld returned 1 exit status” in c++.

Code please.

BTW, I would check my scanf and printf statements in case of wrong format specifiers.