Comparisons 


C Programming Tutorial 

Go to the Table of Contents

 

Words and Symbols Compared

The conditional expressions if and switch are essentially identical to Pascal's own words if and case but there is no redundant "then". BASIC has no analogue of the switch construction. The loop constructions of C are far superior to those of either BASIC or Pascal however. Input and Output in C is more flexible than Pascal, though correspondingly less robust in terms of program crashability. Input and Output in C can match all of BASICs string operations and provide more, though string variables can be more awkward to deal with.