Answer:.......
void clear(int *array, int length){
if (length == 0)return;
array[0] = 0;
clear(array + 1, length-1);
}
Explanation:
The void function accepts an integer array.
C. ">" denotes the end of an element. For instance <b>Hello!</b> or <hr />
Answer:
All are True
Explanation:
a. A constructor must have the same name as that of a class. For example
public class MyFirstClass{ // this is the class name
public MyFirstClass() } // the constructor having the same name as class.
b. Constructors never have a return type not even void because it is only used to initialize the values of data members of the class when the object of the class is created so constructors are not directly called hence they do not need to have a return type.
c. Constructors are invoked using the new operator.
When the new object is created the constructor is invoked in order to initialize the variables of a class. The memory is allocated to the object and then the constructive is invoked for the purpose to initialize the object.
Explanation:
1. How many computers do you want to connect or how big the network should be?
This would tell us what kind of a network need to be built. It can be LAN/MAN/WAN
2. The location where network needs to be built?
We have to check the geographic condition too before creating a network
3. What is the budget?
Based on the budget only, we can decide the wires to be used if require we can negotiate the budget so that we can create effective network
4. Will I get an additional resources to work?
This is essential to estimate the time that is required to complete the task.
5. When the project needs to be completed?
This is crucial because a business might be planned thereafter.