1 #include<stdio.h> 2 struct distance 3 { 4 int inch; 5 int feet; 6 float meter; 7 float cm; 8 }; 9 void input(struct distance *,struct distance *); 10 int addist(struct distance *,struct distance *,struct distance *); 11 void display(struct … Continue reading
head 1.1; access; symbols; locks; strict; comment @ * @; 1.1 date 2014.03.19.15.25.02; author emblogic; state Exp; branches; next ; desc @This is a program to compare two text. we have checked whether two files are identical or not with … Continue reading
head 1.1; access; symbols; locks; strict; comment @ * @; 1.1 date 2014.03.19.15.00.37; author emblogic; state Exp; branches; next ; desc @this is a program to read last n chararcter from the file. @ 1.1 log @Initial revision @ text … Continue reading
@This is a program to copy the contents of one file into another using fputc. @ 1.1 log @Initial revision @ text @#include<stdio.h> int main() { FILE *fp1,*fp2; char a; fp1=fopen(“file2″,”r”); if(fp1==NULL) { puts(“cannot open this file”); goto OUT; } … Continue reading
head 1.1; access; symbols; locks; strict; comment @ * @; 1.1 date 2014.03.19.07.00.53; author Emblinux; state Exp; branches; next ; desc @this is a program to find out even and odd numbers. @ 1.1 log @Initial revision @ text @#include<stdio.h> … Continue reading