Which is faster c++ or python?



Which is faster c++ or python?..

Answer / Amit Nema

In general, C++ tends to be faster than Python due to its compiled nature, which makes it more efficient in executing complex algorithms and using system resources. However, Python's simplicity and readability make it more suitable for rapid prototyping, data analysis, scripting, and other high-level tasks where speed is less critical.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Python Interview Questions

What are object methods?

1 Answers  


What does the meaning of slicing in python?

1 Answers  


What is the directory in python?

1 Answers  


The following is displayed by a print function call?

1 Answers  


What are the optional statements that can be used inside a <try-except> block in python?

1 Answers  


What is polymorphism in python?

1 Answers  


What does defined by whitespace in python?

1 Answers  


Whenever python exists why does all the memory is not de-allocated / freed when python exits?

1 Answers  


Is python written in python?

1 Answers  


What is threads life cycle?

1 Answers  


What is the difference between range() and xrange() functions in python?

1 Answers  


Can we develop a site using python

1 Answers  


Categories