What are the data types in perl
Scalars which store a single value. Arrays which store a list of scalar values. Hashes which store associative arrays which use a key value as index instead of numerical indexes
What are the advantages of inheritance?
It permits code reusability which saves time in program development. It encourages the reuse of proven and debugged high-quality software, thus reducing problem after a system becomes functional.
What is the hierarchy of arithmetic operations in C
BODMAS (Bracket of Division, Multiplication, Addition and Subtraction). B - Brackets first O - Orders (Powers and Square Roots, etc.) DM - Division and Multiplication (left-to-right) AS - Addition and Subtraction (left-to-right)