Brandon Barker, Ben Trumbore, Zilu Wang
Cornell Center for Advanced Computing

Revisions: 6/2024, 9/2022, 8/2021, 9/2014, 2011 (original)

Now that the basics of the C language have been presented, we offer some tips on best practices for coding in C, an exercise that walks through compiling and debugging a short program, and some suggestions for further study of the C language.

Objectives

After you complete this segment, you should be able to:

  • Write C code with "good" style.
  • Be able to compile, run and debug a simple C program.
Prerequisites

There are no formal prerequisites for learning C beyond basic computer operations.

 
©  |   Cornell University    |   Center for Advanced Computing    |   Copyright Statement    |   Inclusivity Statement