Vidyalelo
C Programming · Q85

Arrays and Strings

Programming · C Programming · question 85

Q85

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
Answer
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: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board