Functions and Memory in C: Getting Started with Functions

C programming    |    Intermediate
  • 9 videos | 56m 13s
  • Includes Assessment
  • Earns a Badge
Rating 4.4 of 89 users Rating 4.4 of 89 users (89)
In C, as in other programming languages, the term function refers to a named and parameterized block of code that can be invoked repeatedly. Functions allow monolithic programs to be split into modular chunks, greatly facilitating code reuse and simplifying and improving the logical structure of programs. Explore C functions and learn how they are defined, declared, and invoked. Next, move on to built-in functions and discover how to convert strings to integers, floats, or longs. Then, you will create your own functions to accept input arguments from and return output to the invoker of the function. Finally, you will study the difference between the declaration and the definition of a function. After completing this course, you'll be able to define and invoke functions, understand implicit and explicit function declarations, and use both library functions and user-defined functions.

WHAT YOU WILL LEARN

  • Discover the key concepts covered in this course
    Define and list the advantages of functions
    Recognize the process and syntax of a function
    Convert strings to integers using the atoi() library function
    Demonstrate how to use different utility functions
  • Create user-defined functions
    Return values and accept input arguments in functions
    Contrast the declaration and definition of a function
    Summarize the key concepts covered in this course

IN THIS COURSE

  • 1m 56s
  • 6m 10s
    In this video, you will learn how to define and list the advantages of functions. FREE ACCESS
  • Locked
    3.  Create Functions
    4m 37s
    After completing this video, you will be able to recognize the process and syntax of a function. FREE ACCESS
  • Locked
    4.  Using Library Functions
    7m 19s
    In this video, you will learn how to convert strings to integers using the atoi() library function. FREE ACCESS
  • Locked
    5.  Using Utility Functions for Integers and Strings
    8m 34s
    In this video, you will learn how to use different utility functions. FREE ACCESS
  • Locked
    6.  Defining and Invoking Functions
    6m 34s
    In this video, you will create your own functions. FREE ACCESS
  • Locked
    7.  Returning Data from and Accepting Input to Functions
    9m 6s
    Learn how to return values and accept input arguments in functions. FREE ACCESS
  • Locked
    8.  Comparing a Function's Declaration and Definition
    8m 37s
    In this video, learn how to contrast the declaration and definition of a function. FREE ACCESS
  • Locked
    9.  Course Summary
    3m 21s
    83941b90-1df5-4ef4-b331-c000d31e64b9 FREE ACCESS

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.

Digital badges are yours to keep, forever.

YOU MIGHT ALSO LIKE

Rating 3.7 of 3 users Rating 3.7 of 3 users (3)
Rating 4.5 of 201 users Rating 4.5 of 201 users (201)
Rating 4.9 of 15 users Rating 4.9 of 15 users (15)

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Rating 4.3 of 51 users Rating 4.3 of 51 users (51)
Rating 4.2 of 46 users Rating 4.2 of 46 users (46)
Rating 4.5 of 52 users Rating 4.5 of 52 users (52)