Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #19058

Re: What's wrong with this simple code?

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.mixmin.net!feeder1-2.proxad.net!proxad.net!feeder2-2.proxad.net!cleanfeed2-a.proxad.net!nnrp4-1.free.fr!not-for-mail
Message-ID <4F709D14.6020003@loria.fr> (permalink)
Date Mon, 26 Mar 2012 18:45:08 +0200
From Jens Gustedt <jens.gustedt@loria.fr>
User-Agent Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.2.27) Gecko/20120216 Lightning/1.0b2 Thunderbird/3.1.19
MIME-Version 1.0
Newsgroups comp.lang.c
Subject Re: What's wrong with this simple code?
References <48d7ec09-3c0d-4e4a-9c95-3479417fbf34@x5g2000pbl.googlegroups.com>
In-Reply-To <48d7ec09-3c0d-4e4a-9c95-3479417fbf34@x5g2000pbl.googlegroups.com>
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding 7bit
Lines 16
Organization Guest of ProXad - France
NNTP-Posting-Date 26 Mar 2012 18:45:08 CEST
NNTP-Posting-Host 81.56.96.245
X-Trace 1332780308 news-4.free.fr 20182 81.56.96.245:38368
X-Complaints-To abuse@proxad.net
Xref csiph.com comp.lang.c:19058

Show key headers only | View raw


Am 03/26/2012 06:28 PM, schrieb fajar96te:
> When I tried to compile this:
> 
> // ==============
> #include <stdio.h>
> void main()
> {
>     char k[4] ;
>     k = "abc" ;
> }

Please consider reading the FAQ, first:

http://c-faq.com/aryptr/index.html

Jens

Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

What's wrong with this simple code? fajar96te <fajar.suryawan@gmail.com> - 2012-03-26 09:28 -0700
  Re: What's wrong with this simple code? blp@cs.stanford.edu (Ben Pfaff) - 2012-03-26 09:45 -0700
  Re: What's wrong with this simple code? Jens Gustedt <jens.gustedt@loria.fr> - 2012-03-26 18:45 +0200
  Re: What's wrong with this simple code? "BartC" <bc@freeuk.com> - 2012-03-26 17:45 +0100
  Re: What's wrong with this simple code? jt@toerring.de (Jens Thoms Toerring) - 2012-03-26 16:50 +0000
  Re: What's wrong with this simple code? James Kuyper <jameskuyper@verizon.net> - 2012-03-26 13:52 -0400
    Re: What's wrong with this simple code? nick_keighley_nospam@hotmail.com - 2012-03-29 00:16 -0700
    Re: What's wrong with this simple code? fajar96te <fajar.suryawan@gmail.com> - 2012-03-28 17:23 -0700
      Re: What's wrong with this simple code? Sjouke Burry <s@b> - 2012-04-02 20:39 +0000
      Re: What's wrong with this simple code? "BartC" <bc@freeuk.com> - 2012-04-02 22:07 +0100

csiph-web