updating test.c online

online