head 1.1; access; symbols; locks; strict; comment @ * @; 1.1 date 2014.03.20.02.00.48; author root; state Exp; branches; next ; desc @this is the program to copy contents of one file into another using fputc. @ 1.1 log @Initial revision … 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
>> this is the program using pointers >> in which we count the positive no.s in array and exit when zero is found >> there must b atleast one zero in the array >> . initial revision: 1.1 done [root@localhost … Continue reading
>> this is a program to print the first byte of each element from an integer array >> using pointers >> . initial revision: 1.1 done [root@localhost puja]# rlog vim 7p7.c,v rlog: RCS/vim,v: No such file or directory RCS file: … Continue reading
RCS file: 7p9.c,v Working file: 7p9.c head: 1.1 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 1; selected revisions: 1 description: this is a program to enter the phone number and separate the area code and … Continue reading
>> this is the program for addition of two distance in feet and inch >> using function >> . initial revision: 1.1 done [root@localhost puja]# rcs 9p1.c,v rcs: warning: No options were given; this usage is obsolescent. RCS file: 9p1.c,v … Continue reading
head 1.2; access; symbols; locks root:1.2; strict; comment @ * @; 1.2 date 2014.03.15.16.06.03; author root; state Exp; branches; next 1.1; 1.1 date 2014.03.14.06.52.50; author root; state Exp; branches; next ; desc @this is the initial version,file created and open … Continue reading
#include #define size 10 int main() { int arr[size]; int i,j,temp; printf(“Enter the array \n”); for(i=0;i<size;i++) scanf("%d",&arr[i]); printf("The array is :\n"); for(i=0; i < size; i++) printf("arr[%d]:%d\n",i,arr[i]); printf("String after bubble sort "); for(j=0 ; j<size ; j++) { for(i=0 ; … Continue reading
head 1.1; access; symbols; locks root:1.1; strict; comment @ * @; 1.1 date 2014.03.14.06.52.50; author root; state Exp; branches; next ; desc @this is the initial version,file created and open using function(). @ 1.1 log @Initial revision @ text @#include”header.h” … Continue reading
created FIFO between two process. In this one process is writing and another process is reading using named pipes that is FIFO.
elements using pointer. >> . initial revision: 1.1 done [root@localhost priya]# rlog avgptr.c,v RCS file: avgptr.c,v Working file: avgptr.c head: 1.1 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 1; selected revisions: 1 description: this is … Continue reading
>> this is a program to find the average of array elements. >> . initial revision: 1.1 done [root@localhost priya]# rlog avg.c,v RCS file: avg.c,v Working file: avg.c head: 1.1 branch: locks: strict access list: symbolic names: keyword substitution: kv … Continue reading
vim,v ci: vim: No such file or directory ptr5.c,v > this is the program of pointer in which we analyse the code >> . initial revision: 1.1 done [root@localhost priya]# rlog vim ptr5.c,v rlog: RCS/vim,v: No such file or directory … Continue reading
RCS file: merge.c,v Working file: merge.c head: 1.1 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 1; selected revisions: 1 description: This is the program of array in which i have inserted elements of two array … Continue reading