Forums Programming Assignment Help What is the difference between a PRINT and a WRITE?

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

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

    ahprofessional
    Participant

    What is the difference between a PRINT and a WRITE?

    #15207

    Aakanksha
    Participant

    Ans:- A print always outputs to the “default device” generally the terminal screen. A write sends things to a numbered unit that may be the screen, a disk file, or sometimes a printer (see OPEN statement for connecting unit number to a file).

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

You must be logged in to reply to this topic.