cout<<"Sum of array is : "<<sum; //printing sum to console
return 0;
}
OUTPUT :
Sum of array is : 27
Explanation:
In the above mentioned code, an array is declared and initialized at the same time. A variable sum of int type stores sum returned the function sumArray() and then it is printed to the console. In the function sumArray(), a variable s of data type int is initialized with value 0 and a loop is executed in which every element of the array is added. At last, s is returned.
It handles the installation and processing of various databases related to network domains and provides a consistent and secure networking service and there are incorrect options are described as follows:
IAB, which provides a protocol for managing IETF, is therefore incorrect.
The computer sends a UDP packet with the domain name in it to port 53 of the configured DNS server, and expects a reply with the IP address of that domain.