Question: *This language is C* I have this code from practice problem, and the main function is correct but prime function is wrong. It has to

*This language is C*
I have this code from practice problem, and the main function is correct but "prime" function is wrong. It has to do with the loop but I do not know what. Error is shown below.  *This language is C* I have this code from practice problem,
and the main function is correct but "prime" function is wrong. It
has to do with the loop but I do not know what.
Error is shown below. PROBLEMS primel $ make prime prime.c:47:1: error: non-vold

PROBLEMS primel $ make prime prime.c:47:1: error: non-vold function does not roturn a value in al1 control paths [-worror, -Hroturn-type] ) 1 error generated. make: *we [sbulltin>: prime] Error 1 primel $1

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!