Learn How to Program in C

by
Dr. Kristin Switala

Introduction

Directives

Variables

Conditionals

Loops

Arrays

Pointers

Strings

Functions

Structures


Site Map

Projects: Strings (b)

Instructions: Create a C program that runs successfully for each project below.


Project 1

Use strcpy to print this:

The Superintendents of the Great Trigonometrial Survey of India were:
William Lambton
George Everest
A.S. Waugh
J.T. Walker


Project 2

Use strlen to calculate the lengths of these strings:

Tajikistan
Pakistan
India
Nepal
Bhutan
China (Tibet)

Copyright
© 2001
Kristin Switala
Hosted by www.Geocities.ws

1