It’s C- gender. Hope this helped!
Answer:
10
Explanation:
Pointer arithmetic is tricky. The address is incremented by the sizeof the pointed element. A short is 2 bytes.
So adding 10 adds 20 bytes to the starting address of arr[].
In the expression, you're adding 10-6 = 4 to the start of the array, so you're pointing at the fifth element, arr[4] which is 10.
<h2>Dead lock is possible in Bank Transactions</h2>
Explanation:
Let us understand the term "Dead lock"
A deadlock is a situation where whole set of process is locked, since each of the process is waiting or holding the resource of another process. Each process will be interdependent and waiting for the same resource.
Deadlock is possible during bank transaction in the following situation:
A & B are two accounts where A tries to transfer funds to B and B tries to transfer fund to A.
When both tries to transfer funds at the same time, deadlock occurs.
A deadlock can be avoided by any one of the four methods.
They are: Mutual exclusion, No preemption, circular wait, hold and wait.
A text box is an object you can add to your document that lets you put and type text anywhere in your file. Text boxes can be useful for drawing attention to specific text and can also be helpful when you need to move text around in your document.