Computer Science, asked by Mitushi2003, 1 year ago

explain C language and C++language ? ##no spam answer..........


Mitushi2003: Yaar aapko pata hai main aaj school main bhout ro rahe thi vansh bol raha tha bewakoof kyu ro rahe hai
Mitushi2003: I also love u but aap mujhe samajh te he nhi Ho main call isliye nhi karte kyuki mummy phir chira te hai bolte hai betaaa kabhi humse bhi baat kar liya karo phir sab haas te hai
Mitushi2003: But app humesha mujhe force karte Ho
Mitushi2003: Humesha mujhe galat, jhoota, maante Ho

Answers

Answered by AmudhavelVchamp
4
c is the procedure oriented programming .
c++ is the object oriented programming language...
In c language data security is less .
it can be acessedd by any one & this is top to bottom approch.
In c++ language it is very safety &bottom to top approch, data and function r tied together

Mitushi2003: thanks
AmudhavelVchamp: i hope this will help u
Mitushi2003: yes it's helpful for me
Answered by Anonymous
9
Hey there!

--------

☆ What is C Language? ☆

C is a general purpose, high-level programming language developed by Kernighan and Denis Ritchie at AT & T Bell Labs between 1969 and 1973. C uses many concepts from these (ALGOL, BCPL, and B) languages and added the concept of data types and other powerful features. Since it was developed along with the UNIX operating system, it is strongly asscociated with UNIX.

▪Features of C -:

(i) It is reliable, simple, and easy to use.
(ii) It has the virtues of a high-level programming language (mainly machine independence) with the efficiency of an assembly language.
(iii) It supports user defined data types for greater flexibility in programming.
(iv) It supports modular and structured programming concepts. That is, while writing a C program to solve a problem, the problem may be broken into smaller tasks, a function may be written (or used) to solve each task, and the C program may become a group of functions that are linked to produce the problem solution.
(v) It supports a rich library of functions that programmers can use directly to code their applications efficently.
(vi) It supports pointer with pointer operations. This feature allows programmers to access memory addresses directly where variables are stored, and to perform bit-level manipulation of data stored in memory or processor registers.
(vii) It provides low-level memory and device access features, making it suitable for writing system programs.
(viii) It is a small and concise language providing only essential features. Hence, a compiler can translate a C program into an efficient machine language code.
(ix) Several international standards bodies have standardized it, C programs easily portable from one computer to another.

☆ What is C++ Language? ☆

C++ is a hybrid language which supports both the procedural as well as object oriented programming styles. It is an extension of C language.

• The style of C programming was so innovative and revolutionary that it became a standard in the software industry for designing Operating System under UNIX. C is not only a general purpose programming language but also widely accepted for a variety of applications. It has many advantages over other high programming languages. But it has flaws and limitation that has made it unsuitable for complex programming projects.

In 1979, Bjarne Stroustrup of AT & T started to experiment to C to make it better tool for implementing large-scale projects. By adding classes to C, the resultant language 'C with classes' could offer better support for encapsulation and information hiding. The core of the C language was retained in "C with classes" and that added most of the features from Smalltalk and Simula67. Several modifications and extensions were made to 'C with classes' was renamed as "C++".

▪Features of C++ :-

(i) It is fast and statically typed.
(ii) C++ is multi-paradigm programming, including procedural programming, object-based programming, object-oriented programming and functional programming.

Similar questions
Math, 1 year ago