Loading video...

Video Failed to Load

Go Home

This is a common C bug. You write a MAX macro, then call MAX(m++, n++). The preprocessor pastes the text, so it becomes (m++ > n++) ? m++ : n++. The smaller one increments once. The larger one increments twice. Stanford CS107, lecture 12

29,513 views • 24 days ago •via X (Twitter)

0 Comments

No comments available

Comments from the original post will appear here

Related Videos