What are Predecessor and Successor?


The predecessor of a number is the number that comes just before it.

The predecessor of a number x is x-1.

The successor of a number is the number that comes just after it.

The successor of a number x is x+1.


Tutorialspoint
Tutorialspoint

Simply Easy Learning

Updated on: 10-Oct-2022

188 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements