A SIMPLE C PROGRAM
This shows a C and Pascal program side by side, for comparison
purposes.
#include <stdio.h> program One (output);
main()
{ begin
printf("Programming in C is easy.\n"); writeln('Programming in C is easy')
} end.
Can you see some similar styles?
{ begin
} end
printf writeln
"textstring" 'textstring'
Note how the braces are similar in usage to the begin and end statements in Pascal. Note also that C encloses strings in double quotes, whereas Pascal uses single quotes.