Advanced C Programming: Optimize Performance and Efficiency
1h 23mAdvanced2022-03-17
Authors

Dan Gookin
Creator, Teacher, and Technology Writer with 20+ years of experience
Course details
Once you've mastered the basics of programming in C, you can concentrate on writing more efficient, more functional code. In this course, Dan Gookin offers some tips to help you extend your C programming skills. Learn how to read and write main function arguments, build more useful variables, and work with arrays and structures. Plus, get tips on generating pointers, and take the practice challenges to test your learning along the way.
Learning objectives
Using assignment operators
Working with arguments in the main function
Setting up global variables
Using static variables
Sorting an array
Building an array of structures
Working with the ampersand (&) and asterisk (*) pointer operators
Learning objectives
Using assignment operators
Working with arguments in the main function
Setting up global variables
Using static variables
Sorting an array
Building an array of structures
Working with the ampersand (&) and asterisk (*) pointer operators
Skills covered
CAdvancedProgramming LanguagesOpen SourceSoftware Development
Concepts
0. Introduction
- 01 - Go beyond the basics of C programming
- 02 - What you should know
- 03 - Using the exercise files
1. Programming - Weird-Symbol Roundup
- 04 - Assignment operators
- 05 - Challenge - Use an assignment operator
- 06 - Solution - Use an assignment operator
- 07 - Understand the ternary operator
- 08 - Challenge - A ternary-operator decision
- 09 - Solution - A ternary-operator decision
2. Main Function Arguments
- 10 - Work with arguments in the main() function
- 11 - Challenge - Reading command-line arguments
- 12 - Solution - Reading the command line
3. Beyond Basic Variables
- 13 - Set up an external variable
- 14 - Typecast variables
- 15 - Challenge - Specifying a cast
- 16 - Solution - Specifying a cast
- 17 - Take advantage of static variables
- 18 - Challenge - Setting up a static variable
- 19 - Solution - Setting up a static variable
4. Arrays and Structures
- 20 - Sort an array
- 21 - Challenge - Sort a string
- 22 - Solution - Sort a string
- 23 - Work with arrays and functions
- 24 - Challenge - An array-modification function
- 25 - Solution - An array-modification function
- 26 - Send a structure to a function
- 27 - Challenge - Create a structure function
- 28 - Solution - Create a structure function
- 29 - Build an array of structures
- 30 - Challenge - Sort an array of structures
- 31 - Solution - Sort an array of structures
5. Pointer Tips
- 32 - When to use the ampersand operator
- 33 - How to bind the asterisk operator
- 34 - Challenge - Incrementing a pointer
- 35 - Solution - Incrementing a pointer
- 36 - Understanding arrays and pointers
- 37 - Challenge - Displaying an array
- 38 - Solution - Displaying an array
- 39 - Obeying the order of precedence
Conclusion
- 40 - Next steps
Related courses
- Advanced C Programming: Integrating C and Assembly Language
- AI Workshop: Advanced Chatbot Development
- Computer Architecture Essentials
- Advanced SQL Project: Design and Manage a Database
- Deep Learning with Python: Optimizing Deep Learning Models
- Amazon SageMaker for Generative AI Applications
- Integrating ChatGPT API into Legacy React Applications
- Statistics and Python for Telecommunication: Using Data Analytics for Decision-Making in Modern Telecommunications