Skip to main content
Taylor & Francis Group Logo
    Advanced Search

    Click here to search products using title name,author name and keywords.

    • Login
    • Hi, User  
      • Your Account
      • Logout
      Advanced Search

      Click here to search products using title name,author name and keywords.

      Breadcrumbs Section. Click here to navigate to respective pages.

      Chapter

      Functions
      loading

      Chapter

      Functions

      DOI link for Functions

      Functions book

      Functions

      DOI link for Functions

      Functions book

      ByAli Arya
      BookAnyone Can Code

      Click here to navigate to parent product.

      Edition 1st Edition
      First Published 2020
      Imprint Chapman and Hall/CRC
      Pages 31
      eBook ISBN 9780429244421
      Share
      Share

      ABSTRACT

      This chapter focuses on functions as modules of code. Almost any program uses functions, and that is why it is essential to understand how to define and use them, and more importantly, how to share data between them. Modularization is a key concept in programming. Not only it is one of the basic features of Structured Programming, but it is also the key for defining and understanding other programming paradigms such as Object-Oriented Programming and Functional Programming. This chapter shows how to define and use functions and also how to share data between functions in a program. This data sharing involves passing data to a function and receiving data from it.

      T&F logoTaylor & Francis Group logo
      • Policies
        • Privacy Policy
        • Terms & Conditions
        • Cookie Policy
        • Privacy Policy
        • Terms & Conditions
        • Cookie Policy
      • Journals
        • Taylor & Francis Online
        • CogentOA
        • Taylor & Francis Online
        • CogentOA
      • Corporate
        • Taylor & Francis Group
        • Taylor & Francis Group
        • Taylor & Francis Group
        • Taylor & Francis Group
      • Help & Contact
        • Students/Researchers
        • Librarians/Institutions
        • Students/Researchers
        • Librarians/Institutions
      • Connect with us

      Connect with us

      Registered in England & Wales No. 3099067
      5 Howick Place | London | SW1P 1WG © 2022 Informa UK Limited