Fundamentals of the C Language: Arrays, Accepting Input, & Returning Output
C 17
| Beginner
- 8 videos | 47m 21s
- Includes Assessment
- Earns a Badge
Arrays in C are important data structures that provide a convenient way to access multiple elements of the same data. C arrays are indexed using integers starting from 0 and reside in a contiguous chunk of memory. Arrays are also closely related to pointers, another important building block in the C language. Start this course by learning how to create, populate, and access elements of arrays. Discover how to declare variables of array types, initialize those arrays with data, and get and set the values of elements of arrays. Create multidimensional arrays and work with strings as arrays of characters. Next, learn how to print values using output functions such as printf, putchar, puts, and fprintf. Explore the different format specifiers used to represent data types in printf and how to enumerate the strengths and weaknesses of these different output functions. Finally, learn about accepting user input using library functions such as scanf, gets, fgets, and getchar.
WHAT YOU WILL LEARN
-
discover the key concepts covered in this courseidentify array datatypes in Ccreate multi-dimensional arraysprint out floating-point types
-
demonstrate the use of the scanf functiondemonstrate the use of the getchar(), putchar(), gets(), and puts() functionsdemonstrate the use of the fgets(), fputs(), fscanf(), and fprintf()summarize the key concepts covered in this course
IN THIS COURSE
-
1.Course Overview2m 1sUP NEXT
-
2.Understanding Array Datatypes in C8m 55s
-
3.Creating Two-dimensional Arrays in C4m 33s
-
4.Using the printf() Function7m 40s
-
5.Accepting Input with the scanf() Function8m 41s
-
6.Using Functions to Accept Input and Return Output6m 48s
-
7.Reading and Writing Data to Output6m 12s
-
8.Course Summary2m 32s
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.