Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!gatech!hubcap!ncrcae!ncr-sd!hp-sdd!hplabs!cae780!amdcad!sun!imagen!auspyr!mick From: mick@auspyr.UUCP Newsgroups: comp.lang.c Subject: Re: static char (*b)[6]; (Comment and flame) Message-ID: <6658@auspyr.UUCP> Date: Tue, 16-Jun-87 12:37:57 EDT Article-I.D.: auspyr.6658 Posted: Tue Jun 16 12:37:57 1987 Date-Received: Thu, 18-Jun-87 04:08:53 EDT References: <304@uniq.UUCP> Organization: Austec, Inc., San Jose, CA. USA Lines: 39 >> In article <761@bsu-cs.UUCP>, dhesi@bsu-cs.UUCP (Rahul Dhesi) writes: Rahul started this all off. If you are not familiar with it, hit 'n' now. Here is one response: >in article <304@uniq.UUCP>, rjnoe@uniq.UUCP (Roger J. Noe) says: > still restricting its scope to main(). The problem is that "*b", as the > program was written, denotes an aggregate array of 6 characters, not a > pointer to them. The array cannot be passed as a function parameter. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Think again, squire. > I think the referenced publication should look for a programmer who knows > his/her/its C better than this one. Or maybe change their name to > "Unprofessional". > Roger Noe ihnp4!uniq!rjnoe > Uniq Digital Technologies rjnoe@uniq.UUCP I read the original article in April DEC Professional magazine, and thought it was an excellent discussion of C pointers. It was a little terse at times, but if you didn't understand it the first time, then re-read it until you do. Now then, Roger, did you read the article, or are you taking the clippings in the original posting out of context? When I saw Rahul's posting, I knew we were in for another round of "leap before you look postings" (isn't it wonderful what you read in this newsgroup?), but I just couldn't let this one pass by. Recommendations: 1) (to all) Read the article if you can get a copy. 2) (to Roger) Consider a name change. -- ---- Mick {sdencore,necntc,cbosgd,amdahl,ptsfa,dana}!aussjo!mick {styx,imagen,dlb,gould,sci,altnet}!auspyr!mick