Answered Questions

  • Difference between printf and cprintf

    What is the difference between cprintf and printf? Please explain in detail.

    indinfer

    • Nov 16th, 2014

    I think the original question was not a typo. The original question was printf, not fprintf, compared to cprintf. And I think printf output goes to stdout (standard out) which by default goes to con (the console). cprintf output goes only to con.

    Howard Lee Harkness

    • Apr 4th, 2013

    Cprintf outputs to the console device.
    fprintf outputs to a stream specified by the 1st parameter.