Ericsson-Worldwide Interview Question: why to use unsigned char to s... | Glassdoor

Interview Question

Software Developer - New College Grad Interview(Student Candidate) San Jose, CA

why to use unsigned char to store an IP address as compared

  to other data types?

Interview Answer

1 Answer


IP addresses are represented x.x.x.x , where x can be between 0-255 which is an unsigned byte or char.

R on May 22, 2014

Add Answers or Comments

To comment on this, Sign In or Sign Up.