Forums Assignment Help What is the difference between printf and sprintf

This topic contains 1 reply, has 2 voices, and was last updated by  Aakanksha 7 years, 5 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1914

    ahwriter
    Participant

    What is the difference between printf and sprintf

    #10497

    Aakanksha
    Participant

    sprintf(…) writes data to the character array whereas printf(…) writes data to the standard output device.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.