Top

Discussion

What is the function of void *memset(s, c, n)?

  • A.places character s into first n characters of c, return c
  • B.places character c into first n characters of s, return s
  • C.places character s into first n characters of c, return s
  • D.places character c into first n character of s, return c

Answer: B

The void *memset(s, c, n) places character c into first n characters of s, return s.

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

Post your comment