Wi***edia : 65535
65535 is the product of the first four Fermat primes: 65535 = (2 + 1)(4 + 1)(16 + 1)(256 + 1). Because of this property, it is possible to construct with ...
Pe***e also ask : What is so special about 65535?
In In older with processors having a 16-bit address bus (such as the MOS Technology 6502 and the Zilog Z80), 65535 (FFFF16) is the highest addressable memory location, with 0 (000016) being the lowest. Such processors thus support at most 64 KiB of total byte-addressable memory.
Pe***e also ask : Why is 65535 the limit?
65535 is the largest number that can be held in a 16 bit unsigned integer. As this is the size of the port field in TCP/UDP then that limits the range of port numbers.
Pe***e also ask : Why is 16 bit 65535?
65,536 is a very number in, because it's 2 to the power of 16 (2^16). 2^8 is 256, and 65,536 is the square of 256. In other words, a 16 bit binary number can represent 65,536 different integers. So that's probably where your 65,535 range from.
Pe***e also ask : What is 32 bits 65535?
65535 in binary is all ones, so ANDing it with any X less than 65535 will give you X. Answering the second part of your question. You've tagged it as 32-bit so, 65535 in 32 bits is 00000000000000001111111111111111 , signed or unsigned it is not -1.