Answer:
The above code print the text at three times.
Explanation:
- It is because the above code has one loop which executes three times. The loop executes for the value of i = 0,1 and 10.
- when the value of i is 0 then "++i" will increase the value 1 and the text will be printed.
- If the value of i=1, then the value of i is 2 in the second iteration and the again the text is printed, then the if condition gives the true result and the value of i will be 10.
- Then the loop executes for the last time when the value of i is 10.Then the value will be 11 because of the increment operator and the text will be printed for the third time.
- Then the while loop is not true for the 11 value of i and the loop will get terminated.
The given statement is true.
<u>Explanation:</u>
IP address is really tough to remember by each and everyone, and even if you misspell one number, then the navigation will not go for the desired website. It is equivalent to remember phone numbers during the earlier days. As said the domain name has 4 parts.
They are,
- TLD – Top level domain (eg: .com, .org, .net, etc)
.
- Mid level domain – It is the part that comes after www keyword which is before the Top level domain name.
- www is the machine name which is common for all the domain. It is a standard that needs to be used.
Number 2 is c hope I help
Answer:
Explanation:
We could get the four options for this particular example, but we must know what happens with the variable number the value 1000.
In this case, we are going to assume four scenarios:
1) n = n - n this is equal to 0
2) n = (n - n) + n = 1000
3) n = n * 2 = 2000
4) n = n * 3 = 3000
These are simple examples, we could get these options in different ways.