About 6,210,000 results
Open links in new tab
  1. What is the difference between a "function" and a "procedure"?

    Apr 6, 2009 · function can get inputs and return just only an output. procedure or macro can get inputs and not return any data only execute number of statements. main difference is …

  2. Difference between Function and Procedure - GeeksforGeeks

    Aug 1, 2022 · While programming, particularly in languages such as C or assembly, you come across such terms as macro and procedure (or function). The two are vital that assist in the …

  3. Functions vs. Procedures - What's the Difference? - This vs. That

    Functions are a type of subprogram that returns a value. Procedures are a type of subprogram that does not return a value. Functions are used to perform a specific task and return a value …

  4. Confused about: Subroutine, Procedure, Function, and Method?

    Jul 7, 2023 · In Python, you cannot tell the difference between a function and a procedure unless you look inside the code, to see if there are any 'return' statements and, if so, whether they are …

  5. python - what the difference for function and Procedure in …

    Feb 28, 2021 · Basically a function is something that calculates or executes a certain task (add a to b), while a procedure is a set of operations you perform in a certain order or depend on …

  6. Functions - IGCSE Computer Science Revision Notes - Save My …

    Dec 17, 2024 · What are functions and procedures? Functions and procedures are a type of sub program, a sequence of instructions that perform a specific task or set of tasks. Procedures …

  7. Difference between function, method, routine, procedure, subprogram ...

    Jul 5, 2021 · For instance, a function which displays its argument to screen is a procedure; a function which returns the double of its argument is a function. Following this distinction, a …

  8. Functions And Procedures Explained For Beginners

    Feb 18, 2025 · The main difference is that a function returns a value after performing a task, while a procedure does not return any value. Functions are used to compute results, whereas …

  9. Understanding Functions and Procedures in Python: A …

    This blog post explores the concepts of functions and procedures in Python, detailing how to define and use them effectively. It highlights the benefits of using functions for code reuse and …

  10. Lesson 7 - ReachIT Easily

    Apr 25, 2021 · The subroutines are classified as follows: Procedure and function, they are made up of a series of instructions that are labeled with a name. The exchange between the called …

Refresh