Learn How to Program in C

by
Dr. Kristin Switala

Introduction

Directives

Variables

Conditionals

Loops

Arrays

Pointers

Strings

Functions

Structures


Site Map

Answers to Review: Arrays (c)


White Box Testing

1. three errors:

  • line 6 should end with a curly brace }
  • line 11 should have a parenthesis ) before the last semicolon ;
  • line 12 should be: for(i = 0; i < 5; i++)
Copyright
© 2001
Kristin Switala
Hosted by www.Geocities.ws

1