C Exception Thrown Write Access Violation Variable Was Nullptr

C Exception Thrown Write Access Violation Variable Was Nullptr