What is the difference between procedures and functions?

1 answer

Answer

1066141

2026-02-26 05:00

+ Follow

Functions return a value.

NoteThere are no procedures in C, only functions with no return value (type void is used to indicate that).

In general a function is the purpose or what a system actually does( what output it returns) and a procedure is how that output is returned.

ReportLike(0ShareFavorite

Copyright © 2026 eLLeNow.com All Rights Reserved.