CrazyEngineers
  • The difference between Function and Procedure!

    BCA_GIRL

    Member

    Updated: Oct 23, 2024
    Views: 1.3K
    Hi friends,
    I want to know what is the difference between Function and Procedure. As i concerned Function always return a value, and the Procedure never returns any value.
    If you know another points that differentiates the Procedure from Functions , please add them. 😀
    0
    Replies
Howdy guest!
Dear guest, you must be logged-in to participate on CrazyEngineers. We would love to have you as a member of our community. Consider creating an account or login.
Replies
  • Morningdot Hablu

    MemberOct 13, 2010

    Well i have some good point about this question.
    function will create a stack memory place in the ram while it is implemented.while procedure doesn't.
    In the case of recursive function you gonne create stack for every function call.That is why recursive function is slower than our looping concept.
    Function implementation is an easy approach then our older procedural programming approach.
    Are you sure? This action cannot be undone.
    Cancel
Home Channels Search Login Register