Answer:
a. operands are evaluated left toright. 7
b. operands are evaluated right toleft. 12
Explanation:
a. operands are evaluated left toright. 7
b. operands are evaluated right toleft. 12
left to right
int fun (int *i) {
*i +=5; we add 5to x making x 8
return4; we return 4 tomain
}
void main ( ) {
int x = 3;
x = x + fun(&x); x starts at 3 in fun it ischanged to 8 but the 3 is already being used the 4 fromfun is added (3+4) to it making it 7
}
right toleft x starts at 3 in fun x gets changed to 8 and fun is returned as 4so we have 4 + 8 = 12
Paraphrasing
left to right it's is 3 + 4 =7 original value of x is used
right to left it is 4 + 8 =12 x is used as it was changed by fun, since fun was alreadyexecuted
Sometimes I just meet some Unintelligen ppl
The raw materials of photosynthesis, water and carbon dioxide, enter the cells of the leaf, and the products of photosynthesis, sugar and oxygen, leave the leaf.
Answer:
Explanation:
In digital image processing, degradation is a process of introducing defects to the image. Understanding the degradation function will allow restoration of the original image.
There are many different causes for image degradation such as motion blur, digital noise and lens off-focus. In cases like motion blur, it is possible to come up with an very good estimate of the actual blurring function and "undo" the blur to restore the original image. For digital noise, a statistical model can be set up to compensate for the degradation it caused. Similarly lens focus can be compensate by an optical model if the mis-focus is known.
The above are three degradations that I could find. A lot more information can be found about restoration functions. If you search for image degradation online, you will find a discussion on Quora and an interesting introduction from Rice University. Good luck!