C and C++ language

C Language:
It is general purpose high-level language.This language has been designed by a group at Bell Telephone laboratories,USA in the early 1970s. It has feature similar to PASCAL.It permits manipulation of internal processor registers and hence a programmer can write low-level machine instructions.It has the features of assembly language programming.It is a small and concise language.It makes use of a library of functions that are equivalent to subroutines.C program can use modular and structured concept.A problem may be divided into smaller tasks,a function may be used to solve each task.C program can use modular and structured concept.A problem may be divided into smaller tasks,a function may be used to solve each task. C program  may represent a grouping of functions that are linked together to produce the solution of the problem.C programs can shifted from one machine architecture to another without much difficulty.This language is used by system programmers to develop complex programs such as an operating system and application program.AT and T(Bell Lab's parent) produce C compiler and UNIX operating system tooks as a single software package.It has many versions which run on PCs and larger machines.

C++:
C++ is an extension to C language.Commands of C language are subset of C++.In other words C++ is a super set of C. Almost every correct statement in C is also a correct statement in C++,but the reverse is not true.It was developed in the year 1980.It is an object-oriented language.It is a high-level language.Other high-level languages such as BASIC,COBOL,PASCAL,FORTRAN,C etc,are procedure-oriented language.while writing a program in an object-oriented language,the programmer has to tell only 'what to do' as well as 'how to do'.Now-a-days object-oriented programming is getting wide acceptance. OOP stands  for Object Oriented programming.C++ has all feature of both structure programming and object-oriented programming.

No comments:

Post a Comment

Analysis of Discrete-time Linear-Invariant Systems

we shall demonstrate that such systems are characterized in the time domain simply by their response to a unit sample sequence.we shall als...