+ 1
First tell me where is your file.
Here is an example given..You can check like this.
if(rename("premier.c","lepremier.c") == 0) {
printf("true");
}
https://codeforwin.org/2018/03/c-program-rename-a-file-using-rename-function.html



