From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Haertel Message-Id: <200203151842.g2FIg2k02020@ducky.net> To: 9fans@cse.psu.edu Subject: Re: macro fun [Re: [9fans] plan or side effect] In-Reply-To: <4da3d9af.0203150929.1d3154d2@posting.google.com> Date: Fri, 15 Mar 2002 10:42:02 -0800 Topicbox-Message-UUID: 681aa79e-eaca-11e9-9e20-41e7f4b1d025 > #include > #include > > extern char *strcpy(char *, const char *); > > int main(int argc, char **argv) { > char buf[10]; > strcpy(buf, "hello boyd!"); > printf("%s\n", buf); > return 0; > } Another way your program is not strictly conforming is that the buffer is too small for the string you are copying into it. So you are asking to lose in more ways than one.