Computer Science, asked by sweta5348, 1 year ago

what is difference between python language and C language

Answers

Answered by SmãrtyMohït
6
#mohit
✔✔✔here is your answer ✔✔✔
☆difference between python language and C language☆
▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪
--->Python is dynamically typed, C is statically typedPython has OOP as part of the language, C doesn’t have native OOP (although you could build it in to your application).
✔✔✔✔✔✔
--->Python has some complex data structures as standard (complex numbers, fixed point decimals, fractions, hash tables, heterogeneous lists, sets, unicode strings), C has a few basic types (int, float, bool, char, and a struct compound data type - and of course pointers).
✔✔✔✔✔✔
-->A Python program typically does not need to concern itself with memory management, The language does that for you. In complex C applications you have to think about memory management yourself.
✔✔✔✔✔✔
-->Python is compiled to byte-code and then interpreted by a large C program; C is compiled direct to machine code which is executed directly by the CPU. C is therefore normally a lot faster than an equivalent Python program.
✔✔✔✔✔
-->Python ships with a massive standard library, which does everything from web services to functional programming, and includes a GUI framewokr. The C standard library has some maths and I/O services, everything else you have to build yourself - or find a 3rd party library/framework.
✔✔✔✔
-->Python has a system built in so that in can call C code - so if you have a performance critical part of your application you can always write that in C, and then use it as if it is a Python function.
✔✔✔✔✔
-->Python has a community who have provided over 100,000 free to use packages (all warehoused in one place) which cover almost every conceivable functionality from Astronomy library to Web frameworks. Finding 3rd party libraries for C can be a pain unless you know where to look - and many of them wont be free.
✔✔✔✔✔✔
▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪
These are in no particular order - different people will prioritize different features in different ways.
▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪
⤵⤵⤵⤵
Follow me please
Answered by yoodyannapolis
0

Difference between python language and C language is given below:-

Explanation:

  • A python is an object-oriented programming language while C is a structure-oriented programming language.
  • Python is being used as a general programming language and C is used to build an operating system.
  • In python encapsulation and inheritance is possible while in C encapsulation and inheritance is not possible.
  • Python programming language is slow while the C language is fast.
  • Python requires Exception handling while C does not permit Exception handling.
  • Python doesn't have a switch statement while C has a switch statement.
  • The Python type declaration is not needed, whereas the data type of the variable must be declared in C.

Learn more:-

https://brainly.in/question/16110752

Similar questions