From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arturas Moskvinas Subject: Re: Printf and scanf Date: Sun, 5 Jun 2005 16:54:13 +0300 Message-ID: <4a618d0805060506545a4337be@mail.gmail.com> References: <20050605122105.1865.qmail@web52905.mail.yahoo.com> Reply-To: Arturas Moskvinas Mime-Version: 1.0 Content-Transfer-Encoding: 7BIT Return-path: In-Reply-To: <20050605122105.1865.qmail@web52905.mail.yahoo.com> Content-Disposition: inline Sender: linux-c-programming-owner@vger.kernel.org List-Id: Content-Type: text/plain; charset="us-ascii" To: Ankit Jain Cc: linux prg , newbie > hi > > this is a simple problem which somebody asked me and i > am not able to solve. if somebody here can help me out > > i just want to know how scanf function can be used on > the place of printf and vice versa Scanf reads from STDIN and printf writes into STDOUT. I do not think there is any way to change reading operation with writing... Of course some alchemy might help you :) I think you misinterpreted something... Arturas Moskvinas