Answer:
{"double", "char", "char", "double"} will be stored in word.
Explanation:
Given the word is an array of four strings, {"algorithm", "boolean", "char", "double"}. Hence, the length of the word array is 4.
The for-loop will only run for two iterations due to i < word.length/2, with i = 0 (first loop) and i = 1 (second loop).
In the first loop,
- word[word.length - 1 - i] = word[4 - 1 - 0] = word[3] = "double"
- Hence, the string "double" will be assigned to word[0] and overwrite "algorithm"
In the second loop,
- word[word.length - 1 - i] = word[4 - 1 - 1] = word[2] = "char"
- Hence, the string "char" will be assigned to word[1] and overwrite "boolean"
At last, the word array will hold {"double", "char", "char", "double"}
The type of attack which has occurred in this scenario is known as credential harvesting.
<h3>What is
credential harvesting?</h3>
Credential harvesting is also known as account harvesting and it can be defined as a type of attack that involves the use of the following techniques to illegally obtain large numbers of user credentials (username or password):
In conclusion, the type of attack which was used in this scenario is known as credential harvesting.
Read more on phishing here: brainly.com/question/23850673
#SPJ1
Answer:c)Clean redundant customer data
Explanation:Data cleansing/cleaning is the activity for the elimination of the data which is not required for further use, corrupt, unnecessary etc by detecting it. The data that is being cleared is categorized by levels like irrelevant data, incorrect data, inaccurate data, redundant data etc.
The data is eliminated by the method of correcting , modifying, reducing unnecessary parts,deleting, etc.Thus, the correct option is option(C).
Answer:
Thank you that's so very kind of you. Hope your having a good day.
Answer:
#include <stdio.h>
int fib(int n) {
if (n <= 0) {
return 0;
}
if (n <= 2) {
return 1;
}
return fib(n-1) + fib(n-2);
}
int main(void) {
for(int nr=0; nr<=20; nr++)
printf("Fibonacci %d is %d\n", nr, fib(nr) );
return 0;
}
Explanation:
The code is a literal translation of the definition using a recursive function.
The recursive function is not per se a very efficient one.