From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23772 invoked by alias); 8 Aug 2008 13:00:49 -0000 Received: (qmail 23764 invoked by uid 22791); 8 Aug 2008 13:00:49 -0000 X-Spam-Check-By: sourceware.org Received: from gamma.dmkhost.com (HELO gamma.dmkhost.com) (67.19.42.2) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 08 Aug 2008 12:59:57 +0000 Received: from [195.24.248.244] (port=49393 helo=[192.168.1.100]) by gamma.dmkhost.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1KRRZ8-0007FC-2I; Fri, 08 Aug 2008 14:59:34 +0200 Message-ID: <489C4347.7090109@loskot.net> Date: Fri, 08 Aug 2008 13:40:00 -0000 From: Mateusz Loskot User-Agent: Thunderbird 2.0.0.16 (Macintosh/20080707) MIME-Version: 1.0 To: Rohit Arul Raj CC: gcc-help Subject: Re: odd behavior with Character Arrays References: <489BEDB7.2020905@loskot.net> <489C3791.1050801@loskot.net> In-Reply-To: <489C3791.1050801@loskot.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2008-08/txt/msg00072.txt.bz2 Mateusz Loskot wrote: >> Does that mean, that if the size of the array is specified, it appends >> '\0' and if it is not specified then it does not append '\0'? >> Can you/anyone clarify this point? > > I believe Jerzy explained it in details. I should write Jedrzej. Apologize for the mistake Ciao, -- Mateusz Loskot, http://mateusz.loskot.net Charter Member of OSGeo, http://osgeo.org