Slideshow

Wednesday, 17 October 2012

WHAT IS DIFFERENCE BETWEEN WRITE AND DISPLAY?

WRITE AND DISPLAY IS SO SIMILAR USED TO WRITE TO DISPLAY OR PRINT
THE MAJOR DIFFERENCE BETWEEN THEM IS:
DISPLAY AUTOMATICALLY PUTS IN NEXT LINE AFTER ONE RESULT 
AND WRITE PRINTS ALL THE RESULT IN THE WHOLE LINE.
FOR EXAMPLE:
DISLPAY("HELLO");
DISPLAY("RAJU");
NOW THE OUTPUT IS    HELLO 
                                             RAJU
FOR EXAMPLE:
WRITE("HELLO");
DISPLAY("RAHU");
NOW THE OUTPUT IS HELLO RAJU

No comments:

Post a Comment