Creating a File in C Programming Tamil


#include<stdio.h>
#include<conio.h>
void main()
{
    FILE *f;
    char *str={"Tutorjoes computer Education (www.tutorjoes.com)"};
    clrscr();
    f=fopen("joes.c","w");
    if(f==NULL)
    {
      printf("\nunable to create file :");
      exit();
    }
    fprintf(f,"\n%s",str);
    printf("\nfile creation sucess .....");
    getch();
    fclose(f);
}

Login To Download Source Code

Leave a Comment:

Login To Comment

List Of Programs


Goto Examples

Operators

Looping

Number Conversion

Pattern Design

Arrays

Matrix Examples

Sorting Examples

String Function

Change Case

String In C

Maths Functions

User Defined Functions

Recursive Functions

Pointer

Structure

File Concept

Calender Programming