Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site wjh12.UUCP Path: utzoo!linus!security!genrad!wjh12!kendall From: kendall@wjh12.UUCP (Sam Kendall) Newsgroups: net.lang.c Subject: A C puzzle Message-ID: <374@wjh12.UUCP> Date: Mon, 12-Dec-83 21:35:22 EST Article-I.D.: wjh12.374 Posted: Mon Dec 12 21:35:22 1983 Date-Received: Wed, 14-Dec-83 01:22:22 EST Organization: Delft Consulting Corp., New York Lines: 17 My coworkers and I had fun with this one, devised by yours truly. It is not a program, but a question: For what, if any, subexpressions `p' do the expressions *(p) and (p)[0] not have identical meaning? This is not a trick question, and in particular is not a syntactic trick question. The obvious parses are the correct ones. There's no point in posting the answer immediately. Someone should eventually, I suppose. Sam Kendall {allegra,ihnp4}!wjh12!kendall Delft Consulting Corp. decvax!genrad!wjh12!kendall