Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library

Comment by AlexandrB

6 days ago

Neither C++ nor C pass classes by reference by default (what even is a C "class" other than a struct?).

1 comment

AlexandrB

Reply

raw_anon_1111  6 days ago

You are correct - it’s been ages since I’ve done C. The distinction is in C#.

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities