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?
2)
An array of structures declared like
struct person people[20];
is considered a homogeneous array.
3)
The overall size of a union variable is the sum of the sizes of all the type declared in the union
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 |