EmbLogic's Blog

Category Archives: Uncategorized

program of string.

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 →

Posted in Uncategorized | Leave a comment

This is a program to copy the contents of one file into another using fputc.

@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 →

Posted in Uncategorized | Leave a comment

program to print odd and even numbers using array.

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 →

Posted in Uncategorized | Leave a comment

program to count the no. of positive no.s in the array and exit if any element is zero

>> 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 →

Posted in Uncategorized | Leave a comment

program to print the first byte of each element in integer array using pointers

>> 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 →

Posted in Uncategorized | Leave a comment

program to enter telephone no. and separate the area code and telephone no using pointers

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 →

Posted in Uncategorized | Leave a comment

program to add two distance in feet and inch using functions

>> 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 →

Posted in Uncategorized | Leave a comment

started working with mdc(master array using function)

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 →

Posted in Uncategorized | Leave a comment

program for bubblesort

#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 →

Posted in Uncategorized | Leave a comment

Started working on “Multple data compression and encryption using iterative technique”

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 →

Posted in Uncategorized | Leave a comment

implemented fifo using single client

created FIFO between two process. In this one process is writing and another process is reading using named pipes that is FIFO.

Posted in Uncategorized | Leave a comment

c program using array and pointer.

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 →

Posted in Uncategorized | Leave a comment

c program using array.

>> 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 →

Posted in Uncategorized | Leave a comment

program of pointer.

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 →

Posted in Uncategorized | Leave a comment

program of merging elements of two arrays and sorting them in ascending order.

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 →

Posted in Uncategorized | Leave a comment