+ 1

What is the main difference between the c++ and python? And Which is the best language?

tell me about this

19th Jul 2017, 12:57 AM
THARANI KUMAR.K
THARANI KUMAR.K - avatar
2 Respuestas
+ 9
C++, you generally declare the data type of a variable before you use it. In Python, you don't need to do that. So you'd say int a = 5 in C++ or just a = 5 in Python.  C++ has pointers and you can get into tons of mischief with pointers.   Python doesn't have explicit pointers and is the happier for it. C++ is statically typed whereas Python is dynamically typed. You have to write your code once in python and it magically runs on all OS's provided python is installed -With C++ you need to compile the code on all OS's and sometimes change the source code too. c++ is a better language to learn because it is the mother of all computer languages
19th Jul 2017, 1:39 AM
The Search
The Search - avatar
+ 2
thank u for ur opinion about c++ and python....Once again Thank you
19th Jul 2017, 1:56 PM
THARANI KUMAR.K
THARANI KUMAR.K - avatar