Answer:
This is what we call SQL Injection.
• SQL Injection is when an attacker compromises your database only if it is vulnerable.
• Vulnerability includes leaving an empty ""(value) or forgetting to close anything that could be attacked.
• Ways to prevent injection is to not use string concatenation.
(<em>ex.</em> "hello" + "world")
* Use parameterized queries.
* Immediately get rid of any unused code.
Answer:
repetition
Explanation:
the umbrellas are repeated
Answer:
program
Explanation:
a <em><u>program</u></em><em><u> </u></em>is a set if instructions that a computer follows to perform a task
Answer:
scope
Explanation:
Destructor is a member function and it call automatically when the class object goes out of scope.
Out of scope means, the program exit, function end etc.
Destructor name must be same as class name and it has no return type.
syntax:
~class_name() { };
For example:
class xyz{
xyz(){
print(constructor);
}
~xyz(){
print(destructor);
}
}
int main(){
xyz num;
}//end program
when the object is create the constructor will called and when the program end destructor will call automatically.