adspace


Differentiate between c++ and perl.

Answer Posted / Vishal Rastogi

C++ is a statically typed, compiled programming language that supports object-oriented and generic programming. Perl is a dynamic, interpreted programming language focused on easy data manipulation and web scripting.n
1. Typing: C++ is statically typed, which means variables are defined with their data type at compile time. Perl is dynamically typed, which means variables don't have an explicit data type until they are assigned a value.
2. Compilation: C++ code is compiled before execution. Perl code is interpreted during runtime.
3. OOP: Both support object-oriented programming, but C++ has more advanced features and strict syntax rules compared to Perl.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

There is no strict data types in perl unlike in other high level languages like Java so wouldn't that be a problem if a code in perl is to be a written by a big team of 20+ members ?"

2460


How do find the length of an array?

1215


How to connect to SQL server through Perl?

1146


What is perl? What is the basic command to print a string in perl?

944