Friday, July 31, 2009

Is it possible that without using printf statement to print the output?

c and c++

Is it possible that without using printf statement to print the output?
Yes use the:





cout %26lt;%26lt; "i'm not using printf to write text!!!" %26lt;%26lt; endl;





the "endl" bit is for the program to jump to the next row ...
Reply:YES IT IS POSSIBLE TO PRINT OUTPUT WITHOUT USING PRINTF() FUNCTION. TO PRINT OUTPUT WE SHOULD USE THE ADRESS OF MONITOR OR DISPLAY UNIT


No comments:

Post a Comment