Interview Questions
Q.

Can you use the function fprintf()to display the output on the screen?

 


Answer :
Yes you can use fprintf() function to display output on the screen
Posted By : aman
fprintf( stout, "Welcome %s", name );
this line prints Welcome on the console

If we want to print in the file "Welcome" then put the file pointer in the place of stdout
eg:fprintf( fp, "Hello %s", name );
Posted By : akash
Post Answer :  
Answer * :
Are You? Already a Member New User
   
User Name / Email * :
Password * :
Security Code * :

(Enter security code above shown on image)