Python vs C

Python support POP as well as OOP(Object Oriented Programming) approach.C has POP(Procedural Oriented Programming) approach, C is Imperative programming language.
Type declaration is not a part of python programmingIn c we have to declare the type of variable before using it. Eg. int a = 5;
In python we have to indent our code properly to run our code error freeIn c indation is not necessary. If user wants user can write complete code in single line
Python has dictionary (also called as associative array in other languages).C has pointers
It is easy to perform data structure in python.Performing data structure in C is quite difficult then python
Python is interpreter languageC is compiler language

Leave a Comment