#include <stdio.h>
int main ()
{
int ret;
ret = rename("oldname.txt", "newname.txt");
if(ret == 0)
{
printf("File renamed successfully");
}
else
{
printf("Error: unable to rename the file");
}
return(0);
}
Categories: C language
54 Comments
kde koupit kamagra online přes noc · 18/08/2025 at 08:08
kamagra bez předpisu kanadských předpisů kamagra
koupit kamagra online uk
จอสัมผัสอัจฉริยะ · 10/09/2025 at 02:13
… [Trackback]
[…] Read More Information here on that Topic: durukanbal.com/2021/01/17/c-rename-function-example/ […]
SbobetCP ทางเข้าสโบเบ็ตล่าสุด · 12/09/2025 at 02:28
… [Trackback]
[…] Find More on that Topic: durukanbal.com/2021/01/17/c-rename-function-example/ […]
clothing manufacturer · 15/09/2025 at 23:09
… [Trackback]
[…] Read More to that Topic: durukanbal.com/2021/01/17/c-rename-function-example/ […]