Difference between Pascal and C .

Asked By 7060 points N/A Posted on -
qa-featured

Turbo Pascal version 5.0 was previously part of the BCS certificate level syllabus. Now they have decided to shift to C . Are there many differences between these two programming languages? If so what are they?

SHARE
Answered By 5 points N/A #83246

Difference between Pascal and C .

qa-featured

Hi,

Both the languages have same functions , purposes . Both are common  their influences but the thing in which these languages vary is the basic syntax like declaration of objects, representation of various operators i.e  and, or  and implementations. The basic difference among them comes while using semicolon whose functionality in C is to terminate a statement while in case of Pascal it is used to separate individual statement from compound statement. Another basic difference among is that  Pascal is not case sensitive while on the other hand C is case sensitive .In C functions are written within the curly brackets “{ }” while on the other hand in Pascal as you know function starts with a “begin” and ends with “end”. Similar to these there are other differences in syntax that you will have to cater while switching from Pascal to C.By practice hopefully you will overcome this problem.

Related Questions