25.8.20
This website uses cookies to ensure you get the best experience on our website. Learn more

Advanced Topics in C: Using Strings, Header\n Files, & Type Conversions

Skillsoft issued completion badges are earned based on viewing the percentage required or receiving a passing score when assessment is required. Strings are the most fundamental way of representing text in any programming language. In C, they take the form of character arrays, delimited with a special character. Because of the equivalence between arrays and pointers in C, strings can also be represented using character pointers. Start this course by creating strings as arrays of characters, observing that the end of a string is delimited. Discover how strings are stored in character pointers and iterate over strings with pointer arithmetic and use the strlen(), strcpy(), strcmp() and strcasecmp() functions. Next, learn how to create header files and use the #include preprocessor directive to pull in both system and user-created header files. Explore type conversions and learn about implicit conversions. Finally, explore command line arguments including the use of argc and argv, and how these can be used in your C programs. Upon completion, you'll be able to to work with C strings using character arrays, library functions, and header files, perform type conversions, and use command line arguments in C programs.

Issued on

February 15, 2023

Expires on

Does not expire