nerdexam
National_Instruments

200-500 · Question #229

Which of the following is a function that converts the string 129.0.0.256 into its integer representation of the valid IP 129.0.1.0?

The correct answer is B. ip2long(). See the full explanation below for the reasoning.

Question

Which of the following is a function that converts the string 129.0.0.256 into its integer representation of the valid IP 129.0.1.0?

Options

  • Along2ip()
  • Bip2long()
  • Cconvip()
  • Dconv_string_to_ip()

How the community answered

(22 responses)
  • A
    14% (3)
  • B
    73% (16)
  • C
    9% (2)
  • D
    5% (1)

Community Discussion

No community discussion yet for this question.

Full 200-500 Practice