Forums Programming Assignment Help What is the difference between "printf(…)" and "sprintf(…)"?

This topic contains 1 reply, has 2 voices, and was last updated by  juwanine 6 years, 2 months ago.

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

    ahprofessional
    Participant

    What is the difference between “printf(…)” and “sprintf(…)”?

    #15185

    juwanine
    Participant

    Ans:

    “printf(….)”  is standard output statement
    and
    “sprintf(……)” is formatted output statement

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

You must be logged in to reply to this topic.