Why These Two C Code Blocks About Task Behaves Differently Stack

Why These Two C Code Blocks About Task Behaves Differently Stack