Reverse The String Using FOR Loop in C

//Reverse the String using FOR Loop

#include  <stdio.h>
#include <string.h>
int main(void)
{char *str="ForgetCode";
 printf("Reverse the String:");
 for(int i=(strlen(str)-1);i>=0;i--)
 { printf("%c",str[i]);
 } return 0;
}