Answer:
The resultant value is 0
Explanation:
Solution
Given that:
Now
The +5 representation in signed 2's complement integer: 00000101
Thus
When we right shift then, 4 rightmost bit (0101) will be dropped.
The number after 4-bit right shift: 00000000
Therefore the resultant value after 4-bit right shift is "0" in decimal.
Answer: (c)All others answers
Explanation: Stack ADT is the group of the objects that are present to work according to the last in first out strategy for the abstract data types. It works on the insertions and deletion of the elements that is referred as the push and pop action.
The ADT stacks can works with arrays, links list as well as vectors for the operation .Therefore, the correct option is option(c)