Write a program which open file and overwrite string on file

/* This is program which open file and overwrite string on file */
#include<stdio.h>
#include<conio.h>
int main()
{
FILE *fp ;
fp= fopen( “D:\\info.txt” , “w” );
fprintf(fp, “%s” , “This is just an example :) ” ) ; /*writes data to the file*/
fclose(fp) ;     /*done!*/
getch() ;
return 0 ;
}