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 coursedefine and list the advantages of functionsrecognize the process and syntax of a functionconvert strings to integers using the atoi() library functiondemonstrate how to use different utility functions
-
create user-defined functionsreturn values and accept input arguments in functionscontrast the declaration and definition of a functionsummarize the key concepts covered in this course
IN THIS COURSE
-
1.Course Overview1m 56sUP NEXT
-
2.Functions in C6m 10s
-
3.Create Functions4m 37s
-
4.Using Library Functions7m 19s
-
5.Using Utility Functions for Integers and Strings8m 34s
-
6.Defining and Invoking Functions6m 34s
-
7.Returning Data from and Accepting Input to Functions9m 6s
-
8.Comparing a Function's Declaration and Definition8m 37s
-
9.Course Summary3m 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.