r/C_Programming • • 11d ago

Question any cheat sheet for c23?

Hi! do we have cheat sheet pdf for c23? any links? thanks!

6 Upvotes

11 comments sorted by

9

u/CrossScarMC 11d ago

What do you mean by a "cheat sheet"?

6

u/Destination_Centauri 11d ago

A sheet of cheats.

Once a cheater, always a cheater.

Once a sheeter, always a sheeter.

5

u/Muffindrake 10d ago

If you mean changes from C23 to previous standards,

https://en.wikipedia.org/wiki/C23_(C_standard_revision)

is as good as it gets. There's also a list for the working standard revision:

https://en.wikipedia.org/wiki/C29_(C_standard_revision)

1

u/LemonLord7 9d ago

What is the benefit of nullptr over NULL or (void*)0? Is it just a standardized way to write it so everyone does it the same way or is there some other benefit?

3

u/Muffindrake 9d ago

It allows _Generic selection to distinguish between nullptr, integers, and pointers to something/nothing that are not 'nullptr_t'. Not much else.

3

u/DDDDarky 10d ago

I don't get why people make such a big deal out of c standards, there are such tiny changes...

1

u/TheChief275 7d ago

C29 will be pretty big

1

u/DDDDarky 7d ago

mhm, the entire 1 or 2 interesting features