----- Original Message ----- 
From: "Sanjeev Gopinath" <[email protected]>
To: <[email protected]>
Sent: Thursday, February 04, 2010 5:43 AM
Subject: [c-prog] Printf and Scanf


> printf and scanf have been declared in stdio.h. But why are we allowed to
> use them even without including stdio.h?
>
> Sanjeev Gopinath V

    A lot of people don't like to use scanf or fscanf. Because of possible 
buffer overflow. fgets is a very good option with redirection to stdin.

Bill

Reply via email to