home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c
- Path: sparky!uunet!mcsun!julienas!jussieu!trot!fred
- From: fred@trot.ibp.fr (Frederic PETROT)
- Subject: Re: Question to test general C knowledge
- Message-ID: <1992Dec18.093717.7661@jussieu.fr>
- Sender: news@jussieu.fr (Le Facteur)
- Nntp-Posting-Host: trot.ibp.fr
- Organization: Laboratoire MASI, Paris, France
- References: <1992Dec16.231449.22903@cs.uow.edu.au> <rfries.150@sceng.ub.com> <rfries.151@sceng.ub.com>
- Date: Fri, 18 Dec 1992 09:37:17 GMT
- Lines: 14
-
- d_north@ondec.lonestar.org (David G. North, CCP) writes:
- >Or better yet, what is the type and value of the following expression:
- > "this is a test"[4]
-
- try this one (due to a friend of mine):
-
- main()
- {
- printf("%c", unix["abc"]);
- }
-
- on a unix system, for sure! (no include file needed)
-
- Fred.
-