Sunday, 21 January 2018

Introduction to File Management


Introduction to File Management

Introduction to File Management

There are numerous library functions available for I/O .
These are categorized into three:
  a)Console I/O Functions

     Functions to receive input from keyboard and write output to VDU.
  b)Disk I/O Functions
  Functions to perform I/O operations on a floppy disk
  or hard disk.
  c)Port I/O Functions-
   Functions to perform I/O operations on various ports.

Related Posts:

  • Program for Traingle#include<stdio.h>#include<conio.h>main(){ int n,i,j,t=1; clrscr(); printf("enter the value:"); scanf("%d",&n); for(i=1;i<=n;i++) { for(j=1;j<=i;j++) { printf("%3d",t); t=t+1; } printf("\n"); } ge… Read More
  • Program for Simple Interest #include<stdio.h>#include<conio.h>void main(){ int year,per=10,pri=5000; float amt,val,intr; clrscr(); amt=pri; intr=0.11; year=0; printf("  Simple  Interest  As  Per  Year"); printf("\n _… Read More
  • Program For Switch Case | Example for Switch Case Program #include<stdio.h>#include<conio.h>#include<graphics.h>main(){ int gd=DETECT,gm; int l,m,n,d,e; clrscr(); initgraph(&gd,&gm,"."); gotoxy(12,28); printf("\n\n\n\n\n\n"); printf("\t\t\t"); printf("*****… Read More
  • Simple Interest 1 Program#include<stdio.h>#include<conio.h>main(){ int p,t,r,si; clrscr(); printf("enter the values of p,t,r"); scanf("%d%d%d",&p,&t,&r); si=(p*t*r)/100; printf("%d",si); getch();} … Read More
  • Program for Even or Odd/*check even or odd*/#include<stdio.h>#include<conio.h>main(){ int a; clrscr(); printf("enter the value of a"); scanf("%d",&a); if(a%2==0) { printf("%d is even",a); } else printf("%d is odd",a); getch();} … Read More

0 comments:

Post a Comment