adplus-dvertising
frame-decoration

Question

Which of the following function sets first n characters of a string to a given character?

a.

strinit()

b.

strnset()

c.

strset()

d.

strcset()

Answer: (b).strnset()

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which of the following function sets first n characters of a string to a given character?