🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #1821

Q-> can you nest comments in var names?

#1821
From: Russell A. Fink
Date: Wed, 10 Oct 1990 21:18
21 lines
1027 bytes
By rules of Kernighan and Ritchie, or standard adaptations of the
language, can I nest comments within variable names?
int number;
.
.
.
printf ("Value is %d", num/* this is obnoxious */ber);

Is that obnoxious comment permitted, or is it syntactically wrong?
Thanks in advance for response.





--
   //=====   //=====   Russ Fink  ===============
  //        //____     rfink@eng.umd.edu        
 //        //          University of Maryland
//=====   //=====      College Park  ============
Technical Details
Message-ID: <1990Oct10.211829.3168@eng.umd.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!uakari.primate.wisc.edu!uflorida!haven!mimsy!mojo!news

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!uakari.primate.wisc.edu!uflorida!haven!mimsy!mojo!news
From: rfink@eng.umd.edu (Russell A. Fink)
Newsgroups: comp.std.c,comp.programmer.c
Subject: Q-> can you nest comments in var names?
Keywords: C, c, identifiers, nested, comments, Kernighan, Ritchie
Message-ID: <1990Oct10.211829.3168@eng.umd.edu>
Date: 10 Oct 90 21:18:29 GMT
Sender: news@eng.umd.edu (The News System)
Organization: Civil Engineering Department
Lines: 21