Machine-translated by Google. Questions are authored in English.
Top

Discussion

The mem functions are meant for _______

  • A.returning a pointer to the token
  • B.manipulating objects as character arrays
  • C.returning a pointer for implemented-defined string
  • D.returning a pointer to first occurrence of string in another string

Answer: B

Correct answer: manipulating objects as character arrays

The mem functions treat their arguments as blocks of bytes of a stated length, with no special meaning for the null character. That is what lets them copy, compare, search and fill arbitrary data - structures, integers, binary buffers - and not just text.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.