Python:
sentence = “this is the sentence.”
size = len(sentence)
C++:
string sentence = “this is the sentence.”
int size = sentence.size()
* Remember strings are just arrays of characters.
The answers are /var/lib/dhcpd/dhcpd.leases & /var/lib/dhcpd/dhcpd6.leases
In order to look up ipv4 and ipv6 dhcp leases, The two files that should be viewed are /var/lib/dhcpd/dhcpd.leases & /var/lib/dhcpd/dhcpd6.leases
Answer:
zero ( 0) times.
Explanation:
In the code;
i = 2
while ( i > 2){
i = floor( i/2 );
z = z + 1;
}
the variable " i " is assigned the integer " 2 ", then the while statement loops with a condition of a greater " i " value and divides the value by two for every loop.
But in this case, the while statement is not executed as the value of " i " which is 2 is not greater than but equal to two.
Your correct answer would be Legend.
answer choice is B.
Well we just benefit from it like it just helps as I guess