Home | | Computer Science 12th Std | Features of Python over C++

Chapter: 12th Computer Science : Chapter 14 : Integrating Python with MySql and C++ : Importing C++ Programs In Python

Features of Python over C++

Python uses Automatic Garbage Collection whereas C++ does not.

Features of Python over C++

 

·        Python uses Automatic Garbage Collection whereas C++ does not.

 

·        C++ is a statically typed language, while Python is a dynamically typed language.

 

·        Python runs through an interpreter, while C++ is pre-compiled.

 

·        Python code tends to be 5 to 10 times shorter than that written in C++.

 

·        In Python, there is no need to declare types explicitly where as it should be done in C++

 

·        In Python, a function may accept an argument of any type, and return multiple values without any kind of declaration beforehand. Whereas in C++ return statement can return only one value.

 

Study Material, Lecturing Notes, Assignment, Reference, Wiki description explanation, brief detail
12th Computer Science : Chapter 14 : Integrating Python with MySql and C++ : Importing C++ Programs In Python : Features of Python over C++ |


Privacy Policy, Terms and Conditions, DMCA Policy and Compliant

Copyright © 2018-2023 BrainKart.com; All Rights Reserved. Developed by Therithal info, Chennai.