Basic Learning Objectives

Before class, you should be able to:

  • Write the main for a C program
  • Create variables and arrays in a C program
  • Print output from a C program
  • Compile and run a C program

Advanced Learning Objectives

After class, you should be able to:

  • Get user input using scanf and command-line arguments
  • Explain how arrays are passed to functions
  • Explain how strings and character arrays relate
  • Define null-terminated

Resources

You should read the following in DIS:

  • 1.1-1.2
  • 1.5
  • 2.9.2
  • Feel free to reference the rest of Ch. 1 for other C syntax

Checks

Complete the following checks. If you have any questions on them, post to CampusWire please!