Skip to main content

New answers tagged

0 votes

What was the rationale for making realloc(ptr, 0) have UB in C23

Suppose the Standard had specified that an implementation must predefine a constant to indicate how it handles the realloc(ptr,0) case, which is what "...
supercat's user avatar
  • 1,894

Top 50 recent answers are included