Functions and Memory in C: Getting Started with Functions

C programming    |    Intermediate
  • 9 Videos | 56m 13s
  • Includes Assessment
  • Earns a Badge
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

  • Playable
    1. 
    Course Overview
    1m 56s
    UP NEXT
  • Playable
    2. 
    Functions in C
    6m 10s
  • Locked
    3. 
    Create Functions
    4m 37s
  • Locked
    4. 
    Using Library Functions
    7m 19s
  • Locked
    5. 
    Using Utility Functions for Integers and Strings
    8m 34s
  • Locked
    6. 
    Defining and Invoking Functions
    6m 34s
  • Locked
    7. 
    Returning Data from and Accepting Input to Functions
    9m 6s
  • Locked
    8. 
    Comparing a Function's Declaration and Definition
    8m 37s
  • Locked
    9. 
    Course Summary
    3m 21s

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

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

Digital badges are yours to keep, forever.