Answer:
Network address translation (NAT) is a method for designing the IP address and it basically operate on router. NAT usually connect two network together and translate the unique and private address into the legal address.
Network address translation is a technique that works in network for re-mapping the IP address into another by modify the network address information into the IP packet header. NAT gateway are used for the entire private network.
The network address translation use both the security and economical purpose in an organization to limit the public IP address.
Answer:
The following fix were made to the program
- Change void main() to int main(), then set a return value at the end of the main function; e.g. return 0
- Remove system("pause"); It's not needed
- For each of the array, change their lengths to 5 i.e. int votes[5]; string name[5]; and float percent[5];
- Lastly, calculate the percentage using: percent[i]=((votes[i]*100.0/total))
Explanation:
(1) void main implies that the main function will not return any value. So, you change it to int main() and then set the return value
(2) There is no need to pause the program, so system.("pause") is not necessary.
(3) The question says there are 5 candidates. So, we set the arrays to accommodate inputs for 5 values
(4) percent array is declared as float; 100.0 will ensure that it calculates the percentage as a float value.
<em>See attachment for updated code</em>
Answer:
The correct answer for the given question is an option(b) i.e "interdomain routing".
Explanation:
The Interdomain Routing algorithm protocol works between the domains. The protocol which is used in the interdomain routing is called as exterior gateway protocol. In the interdomain routing protocols works between the autonomous systems, it means they are taking place in the autonomous networks.
- Intradomain routing works within the domain. They are not works between the autonomous systems so the option(a) is incorrect.
- Out-of-domain are neither work in within or between the system so option(d) is incorrect.