Convert a 32-Bit Hexadecimal Address to Dotted-Decimal IPv4

Given an 8-character hexadecimal string representing an IPv4 address, convert it to dotted-decimal IPv4 notation.

  • The input contains exactly 8 hexadecimal characters and may use uppercase or lowerc...

Example

Unlock to view complete problem details

and practice with sample input/output

Was this article helpful?

View Test Cases & Run Code requires membership

Standard Input
Execution Result: