🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: What are some tricky C questions?

#2477
From: Greg Shubin
Date: Wed, 03 Apr 1996 13:10
14 lines
851 bytes
In article <4jol5v$1qs@solutions.solon.com>, wawda@chaph.usc.edu says...
>
>After reading the thread on "Good C interview questions", I've got to
>ask people to post some tricky/trivia questions on programming in C or
>even programming in general. Does anyone have any? Thanks in advance.
>
>Abu Wawda
>wawda@scf.usc.edu

Here's a little example of C's inconsistent syntax:

int * i, * j, k;

k = *i/*j;
Technical Details
Message-ID: <4jttd2$3iq@solutions.solon.com>
Path: arc1-ca.pugleaf.net!solon.com!not-for-mail
References: <4jol5v$1qs@solutions.solon.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!solon.com!not-for-mail
From: gshubin@wco.com (Greg Shubin)
Newsgroups: comp.lang.c.moderated
Subject: Re: What are some tricky C questions?
Date: 3 Apr 1996 07:10:58 -0600
Organization: none
Sender: clc@solutions.solon.com
Approved: clc@solutions.solon.com
Message-ID: <4jttd2$3iq@solutions.solon.com>
References: <4jol5v$1qs@solutions.solon.com>
NNTP-Posting-Host: solutions.solon.com
X-Newsreader: WinVN 0.99.5