🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.c.moderated
Article #2560

Re: What are some tricky C questions?

#2560
From: Kazimir Kylheku
Date: Tue, 09 Apr 1996 03:49
14 lines
780 bytes
In article <4jttd2$3iq@solutions.solon.com>,
Greg Shubin <gshubin@wco.com> wrote:
>Here's a little example of C's inconsistent syntax:
>
>int * i, * j, k;
>
>k = *i/*j;

I think that should be:

k = *i/*j*/;

otherwise you have an unterminated comment! ;)
-- 
Technical Details
Message-ID: <4kcmnl$p43@solutions.solon.com>
Path: arc1-ca.pugleaf.net!solon.com!not-for-mail
References: <4jol5v$1qs@solutions.solon.com> <4jttd2$3iq@solutions.solon.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!solon.com!not-for-mail
From: c2a192@ugrad.cs.ubc.ca (Kazimir Kylheku)
Newsgroups: comp.lang.c.moderated
Subject: Re: What are some tricky C questions?
Date: 8 Apr 1996 22:49:09 -0500
Organization: Computer Science, University of B.C., Vancouver, B.C., Canada
Sender: clc@solutions.solon.com
Approved: clc@solutions.solon.com
Message-ID: <4kcmnl$p43@solutions.solon.com>
References: <4jol5v$1qs@solutions.solon.com> <4jttd2$3iq@solutions.solon.com>
NNTP-Posting-Host: solutions.solon.com