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

C programming    |    Intermediate
  • 14 videos | 1h 31m 5s
  • Includes Assessment
  • Earns a Badge
Rating 4.4 of 27 users Rating 4.4 of 27 users (27)
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

  • 2m 1s
  • 5m 43s
    In this video, find out how to create variables with file scope. FREE ACCESS
  • Locked
    3.  Creating and Accessing Variables from Inner Scopes
    6m 59s
    In this video, you will learn how to work with variable scope. FREE ACCESS
  • Locked
    4.  Scoping Input Argument Variables
    8m 4s
    Upon completion of this video, you will be able to recall input argument scope. FREE ACCESS
  • Locked
    5.  Redefining Global Variables in Local Scopes
    10m 55s
    During this video, you will learn how to redefine variables in different contexts. FREE ACCESS
  • Locked
    6.  Using the Automatic and Register Storage Classes
    6m 26s
    After completing this video, you will be able to recognize the different storage classes. FREE ACCESS
  • Locked
    7.  Creating Static Global and Local Variables
    5m 42s
    Learn how to create variables that do not change. FREE ACCESS
  • Locked
    8.  Accessing Variables from Multiple Files
    6m 16s
    Find out how to use external variables. FREE ACCESS
  • Locked
    9.  Creating Static and External Functions
    6m 31s
    In this video, find out how to use the static and extern keywords with variables. FREE ACCESS
  • Locked
    10.  Using Pass-by-value and Pass-by-reference
    8m 35s
    In this video, learn how to differentiate between pass-by-value and pass-by-reference. FREE ACCESS
  • Locked
    11.  Creating and Instantiating Structs
    7m 23s
    In this video, you will learn how to create and instantiate structures. FREE ACCESS
  • Locked
    12.  Creating and Instantiating Unions
    8m 57s
    Learn how to work with labor unions. FREE ACCESS
  • Locked
    13.  Representing Categories Using Enums
    4m 38s
    In this video, you will learn how to create enums. FREE ACCESS
  • Locked
    14.  Course Summary
    2m 55s
    5df71414-000e-42db-ad94-741d32328e6b 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 4.0 of 7 users Rating 4.0 of 7 users (7)
Journey C
Rating 3.0 of 2 users Rating 3.0 of 2 users (2)
Rating 4.1 of 21 users Rating 4.1 of 21 users (21)

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Rating 4.3 of 73 users Rating 4.3 of 73 users (73)
Rating 4.5 of 52 users Rating 4.5 of 52 users (52)
Rating 4.2 of 331 users Rating 4.2 of 331 users (331)