Forums Assignment Help What is the difference between printf and sprintf

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.