Functions and Memory in C: Using Variable Scopes, Storage Classes, & Structs

C programming    |    Intermediate
  • 14 Videos | 1h 31m 5s
  • Includes Assessment
  • Earns a Badge
A vital part of programming is being able to reuse codes in an efficient and effective way. Using variable scopes, storage classes, different user-defined types like structs, unions and enums allow programmers to scale their programs and create meaningful structures. Begin by exploring variable scope and learn how to input argument scoping and redefine variables. Discover how to work with storage classes and access them in file scope, local scope, and across files. Finally, take a look at different user-defined types in C. Upon completion of this course, you will be able to confidently leverage variable scopes and storage classes to define values, scope, and visibility.

WHAT YOU WILL LEARN

  • discover the key concepts covered in this course
    create file scope variables
    work with variable scopes
    recall input argument scoping
    redefine variables in different scopes
    recognize storage classes
    create static variables
  • use external variables
    use the static and extern keywords with functions
    differentiate between pass-by-value and pass-by-reference
    create and instantiate structs
    work with unions
    create enums
    summarize the key concepts covered in this course

IN THIS COURSE

  • Playable
    1. 
    Course Overview
    2m 1s
    UP NEXT
  • Playable
    2. 
    Accessing File-scope Variables from Functions
    5m 43s
  • Locked
    3. 
    Creating and Accessing Variables from Inner Scopes
    6m 59s
  • Locked
    4. 
    Scoping Input Argument Variables
    8m 4s
  • Locked
    5. 
    Redefining Global Variables in Local Scopes
    10m 55s
  • Locked
    6. 
    Using the Automatic and Register Storage Classes
    6m 26s
  • Locked
    7. 
    Creating Static Global and Local Variables
    5m 42s
  • Locked
    8. 
    Accessing Variables from Multiple Files
    6m 16s
  • Locked
    9. 
    Creating Static and External Functions
    6m 31s
  • Locked
    10. 
    Using Pass-by-value and Pass-by-reference
    8m 35s
  • Locked
    11. 
    Creating and Instantiating Structs
    7m 23s
  • Locked
    12. 
    Creating and Instantiating Unions
    8m 57s
  • Locked
    13. 
    Representing Categories Using Enums
    4m 38s
  • Locked
    14. 
    Course Summary
    2m 55s

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.