107k views
1 vote
5 similarities between the C and C ++ language​

1 Answer

2 votes

Answer:

Check explanation

Step-by-step explanation:

Well, for one thing, C++ is a superset of C. This means:

  • They both have similar syntax
  • Similar code structure
  • Similar compilation

Another similarity is that pretty much all of C's keywords and operators are used in C++ with the same use.

They both also use the semicolon (;) as the statement terminator.

There you go. 5 similarities between C and C++.

User Nicoabie
by
3.9k points