CS FundamentalsHardGATE CS · Product company CS fundamentals

A UDP header shows a length field of 0x0040. How many bytes of application data does the datagram carry?

  1. A. 64
  2. B. 40
  3. C. 56
  4. D. 48

Correct answer: C. 56

0x0040 = 64 bytes, and the UDP length includes its own 8-byte header, so the payload is 64 − 8 = 56 bytes.

More Computer Networks questions

Exams that ask this topic