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: Strings (b)


White Box Testing

1. two errors:

  • line 2 should be: #include<string.h>
  • in line 12, the variable should be tibet, instead of british

2. two errors:

  • add a line 2: #include<string.h>
  • line 11 should be: int eve = strlen(one);
Copyright
© 2001
Kristin Switala
Hosted by www.Geocities.ws

1