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.
Answer:
All flags are On ( c, z , N )
Explanation:
Given data:
4-bit operation
Assuming 2's complement representation
<u>Determine status flags that are on after performing </u> 1010+0110
1 1
1 0 1 0
0 1 1 0
1 0 0 0 0
we will carry bit = 1 over
hence C = 1
given that: carry in = carry out there will be zero ( 0 ) overflow
hence V = 0
also Z = 1
But the most significant bit is N = 1
Answer:
- The graph of the function is attached below.
- The x-intercepts will be: (2, 0), (-2, 0)
- The y-intercept will be: (-20, 0)
Explanation:
Given the function

As we know that the x-intercept(s) can be obtained by setting the value y=0
so

switching sides

Add 20 to both sides


Dividing both sides by 5





so the x-intercepts will be: (2, 0), (-2, 0)
we also know that the y-intercept(s) can obtained by setting the value x=0
so



so the y-intercept will be: (-20, 0)
From the attached figure, all the intercepts are labeled.