From: r_zaca Subject: Re: Type casting Date: Fri, 10 Dec 2004 08:06:00 -0200 Message-ID: <20041210_100600_061286.r_zaca@ig.com.br> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Message-Boundary-by-Mail-Sender-1102673160" Return-path: Sender: linux-c-programming-owner@vger.kernel.org List-Id: To: linux-c-programming@vger.kernel.org This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --Message-Boundary-by-Mail-Sender-1102673160 Content-type: text/plain; charset=ISO-8859-1 Content-description: Mail message body Content-transfer-encoding: 8bit Content-disposition: inline > > 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)? So what is the "(float)" for? --Message-Boundary-by-Mail-Sender-1102673160--