Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 6/7/83; site hao.UUCP Path: utzoo!linus!decvax!genrad!grkermit!masscomp!clyde!floyd!harpo!seismo!hao!woods From: woods@hao.UUCP Newsgroups: net.lang.c Subject: Re: sizeof "string" Message-ID: <810@hao.UUCP> Date: Fri, 27-Jan-84 16:04:34 EST Article-I.D.: hao.810 Posted: Fri Jan 27 16:04:34 1984 Date-Received: Sun, 5-Feb-84 04:06:50 EST References: <1623@rlgvax.UUCP> Organization: High Altitude Obs./NCAR, Boulder CO Lines: 9 Of course it isn't a good idea to use sizeof on strings! It should properly return the size of a char pointer. That is why "strlen" is in the stdio library! GREG -- {ucbvax!hplabs | allegra!nbires | decvax!kpno | harpo!seismo | ihnp4!kpno} !hao!woods