From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ankit Jain Subject: shift operator Date: Tue, 28 Sep 2004 05:48:57 +0100 (BST) Sender: linux-c-programming-owner@vger.kernel.org Message-ID: <20040928044857.84147.qmail@web52907.mail.yahoo.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7BIT Return-path: List-Id: Content-Type: text/plain; charset="us-ascii" To: linux prg hi well if somebody can explain this i=1; i<<=15; i>>=15; i>>=1; also i=1; i<<=14; i>>=14; i>>=1; what should be the result of both and why? thanks ________________________________________________________________________ Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now http://uk.messenger.yahoo.com/download/index.html