• edited by
1,330 views
1 1 vote

Options are

  1. TI==(P/Q*i-1)
  2. Ti==(P/Q*i+1)
  3. Ti==(P/Q*(i-1)-1)
  4. Ti==(P/Q*(i+1)-1)

1 Answer

0 0 votes
condition for overflow is      IF ( iP/Q -1 ==0)

                                            PRINT→ underflow

so option 1 is correct
Position:
Show:

Related questions

2 2 votes
0 0 answers
838
838 views
CHïntän ÞäTël asked Dec 7, 2018
838 views
I THING THERE IS MISTAKE BECAUSE BRACKET ARE CLOSING AFTER ELEMENT E SO ALL OPERATORS HOULD BE POPED AND AND ACCORDING TO ME ANWER SHOLD BE 2…TRY AND CORRECT IF I M WRON...
0 0 votes
1 1 answer
733
733 views
2 2 votes
1 1 answer
2.7k
2.7k views
Gupta731 asked Dec 7, 2018
2,698 views
Consider a stack S given below with elements 1,2,3 along with the usual operations push(), pop() and top() as shown.The number of elements that will remain in the stack a...
2 2 votes
2 2 answers
3.2k
3.2k views
jatin khachane 1 asked Dec 1, 2018
3,170 views
My doubt : What should we consider ^ operator as Bitwise XOR ? or Exponentiation