Latest Writings

Comparison: C++ is an extension to the C language. When C++ is used as a procedural language, there are only minor syntactical differences between them.

Contrast: When used as a procedural language, C++ is a better C because:

  • It vigorously enforces data typing conventions.
  • It allows variables to be defined where they are used.
  • It allows the definition of real (semantically significant) constants.
  • It allows for automatic pointer dereferencing.
  • It supports call-by-reference in addition to call-by-value in functions.
  • It supports tentative variable declarations (when the type and location of a variable cannot be known before hand.


Source: http://handheldfriendly.net/blb/resume/quest2.html






0 Comments to “Compare and contrast C programming language and C++ programming languages.”

Powered by FeedBurner