How can a procedure be defined in ‘C’?

a) How can a procedure be defined in ‘C’? Give an example. Bring out the differences
between function and procedure.
b) Draw a flowchart and then develop an interactive ‘C’ program which finds whether a
given integer number is prime or not. Make use of a function subprogram.

Leave a Reply