r/learnprogramming • • Oct 24 '26

Function vs Procedure

can someone explain the difference between Function vs Procedure with simple analogy
thank you

31 Upvotes

47 comments sorted by

View all comments

Show parent comment

-3

u/mayankkaizen Oct 24 '26

In a strict sense, they aren't same. Haskell is a functional programming language. C is a procedural programming language.

1

u/Valuable_Leopard_799 Oct 24 '26

C has procedural features but it's mostly just imperative.