Special offers now — see discounted courses.
day
:
hour
:
min
:
sec
See special offers
Advanced C Programming: Optimize Performance and Efficiency

Advanced C Programming: Optimize Performance and Efficiency

1h 23mAdvanced2022-03-17

Authors

Dan Gookin

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

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

Related learn paths

About us

LyndaKade is a leading learning platform that helps people learn business, software, technology, and creative skills to achieve personal and professional goals.

Phone numberAparat ChannelTelegram SupportTelegram ChannelInstagram Page

All rights to this site belong to LyndaKade.

Terms of Service|Privacy Policy

نماد الکترونیک enamad در صورت اتصال با آی‌پی داخل کشور، نمایش داده خواهد شد.
logo-samandehi - لوگو ساماندهی
zarinpal
zibal