Define a class Employee. Also defi ne classes of MaleEmp and FemaleEmp inheriting from the Employee class.

1.       Define a class Employee. Also defi ne classes of MaleEmp and FemaleEmp inheriting from the Employee class. Defi ne classes Offi cers, Clerks, and Peons again inheriting from the Employee class. Defi ne an array that contains 10 different types of employees. Defi ne a function ReadDetails() in all the classes. All array elements should be accessible in the same routine, irrespective of their type.

2.       Read an integer and a fl oat. Try to compare them using typeid. Print their type names using a function name(). Now, cast the integer into fl oat. Repeat the same thing. Try comparing the types of both the items using the == operator.

find the cost of your paper

which statement will read the file into memory?

A.Opening a file in read mode performs which operation?   a. Creates a new file                        b. Reads consecutive characters from a file c. Reads all the content of a file   ….

The PR intervals with 2nd degree AV heart block, type I

A. The PR intervals with 2nd degree AV heart block, type I   a. are constant. b. are absent. c. are shorter in duration than 0.12 seconds. d. become progressively….

Write a program that compares two fi les whose names are provided as user input.

Assuming that a text fi le contains characters in the ASCII range 0 to 127 and contains at least one newline character, create a function that uses the fi lename….