Integer literals in Swift

Integer literals in Swift are of the following types:

  • Decimal literal
  • Binary literal
  • Octal literal
  • Hexa decimal literal

Leave a Reply