Question: 1) Given the following command line entered at the Linux command prompt $ Myprog1 file1 file2 file3 how many command line arguments will be reported

1)

Given the following command line entered at the Linux command prompt

$ Myprog1 file1 file2 file3

how many command line arguments will be reported by the ARGC variable passed into main in the code for Myprog1?

A- 2
B- 0
C- 3
D- 4

2)

An array of structures declared like

struct person people[20];

is considered a homogeneous array.

True
False

3)

The overall size of a union variable is the sum of the sizes of all the type declared in the union

True
False

4)

which of the following describe the rules required for function overriding? ( more than 2 answer)

A- the functions must have different signatures
B- the funcitons must be in classes in an inheritance relationship
C- the functions have to be in unrelated classes
D- the functions must have the same signatures
E- the virtual keyword is required

5)

Which of the following are conditions that describe overloading of a function ( more than 2 answer)

A -the function must be a member of a class
B- the function signatures must be the same
C- the function signatures must be different
D- the function names must be the same

E- the function names must be different

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!