C++ is superset of ANSI C. C++ improved version of C by expanding its features to support new software development concepts such as object oriented programming. Many features have been added to C such as comment - C++ supports one or more type of comment in addition to the existing comment style /*.......*/. The new comment style('//' double slash) is useful for one line comment.Unlike C, which requires all the declaration to be made at the beginning of the scope, C++ permits us to make declaration at any point in the program. Many new keywords have been added. It also define new operators new and delete to manage dynamic allocation functions they can be used in place of malloc() and free().
No comments:
Post a Comment