C File Writing Issue While Using Async Stack Overflow

C File Writing Issue While Using Async Stack Overflow