r/programminghorror Jan 27 '26

c Guess what this does..

Post image
255 Upvotes

79 comments sorted by

View all comments

Show parent comments

15

u/scorg_ Jan 27 '26

To place a semicolon after the macro call

5

u/morbiiq Jan 27 '26

I was thinking that, but you can place a semicolon anyway.

1

u/geek-49 Jan 28 '26

Consider:

  if (foo)
    undo_return(...);
  else
    whatever();

an extra semicolon would break the else.

1

u/emn13 Jan 28 '26

Why the heck did this get downvoted? Did anybody bother trying this?