From mboxrd@z Thu Jan 1 00:00:00 1970 From: wwp Subject: Re: Type casting Date: Fri, 10 Dec 2004 10:28:34 +0100 Message-ID: <20041210102834.0b13db5e@tethys.solarsys.org> References: <5959EA4638D8734599AB75EAAFBB6FEF0228AA72@mtv01ex04.mindtree.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <5959EA4638D8734599AB75EAAFBB6FEF0228AA72@mtv01ex04.mindtree.com> Sender: linux-c-programming-owner@vger.kernel.org List-Id: Content-Type: text/plain; charset="us-ascii" To: linux-c-programming@vger.kernel.org Hello Bakki, On Fri, 10 Dec 2004 09:53:59 +0530 "Bakki Srinivas" wrote: > can any body explain what is the type of x in : > > x = (int) (float) x; No way to know x's type unless you show us the x declaration (maybe: int x; ?). You're maybe dealing w/ the type of the value that will be assigned to x (int)? Regards, -- wwp