Handling Yield in C