r/cprogramming • • 6d ago

Difference to r/C_Programming

Hello friends, may I ask what is the difference between this subreddit and r/C_Programming ?

Thanks in advance

8 Upvotes

17 comments sorted by

View all comments

4

u/snake_on_the_case 6d ago

NULL

2

u/spatulari 6d ago

nullptr

7

u/Nothing_from_void 6d ago

get that C++ out of here!

6

u/scritchz 6d ago

akshually, it's a new keyword added in C23 with a type dedicated to bein a (null) pointer.

2

u/Nothing_from_void 6d ago

Heresy!

1

u/scritchz 6d ago

Agreed! I still program in C99, though constexpr would be nice sometimes...

1

u/Nothing_from_void 6d ago

Yeah I'm actually using C23 for constexpr and stdckdint.h header for checked math, I should probably be using nullptr as well, but you only really need C99

4

u/non-existing-person 6d ago

I feel dirty now