Answer

The problem is that in C, ``='' is used to assign a value to a variable! The operators ``='' and ``=='' mean completely different things.

Return to lesson.



Joseph L. Zachary
Hamlet Project
Department of Computer Science
University of Utah