EmbLogic's Blog

Author Archives: Dudhatra Savan

data Decompresion Done !!!!!!!!!

RCS file: file.c,v Working file: file.c head: 1.18 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 18;    selected revisions: 18 description: This is main Program file for the Multiple Data Compression(MDC) in which i use file_open … Continue reading

Posted in Uncategorized | Leave a comment

Data compression done!!!!!!!!

RCS file: file.c,v Working file: file.c head: 1.17 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 17; selected revisions: 17 description: This is main Program file for the Multiple Data Compression(MDC) in which i use file_open … Continue reading

Posted in Uncategorized | Leave a comment

rlog file of linklist using function ……………

RCS file: functionlink.c,v 3 Working file: functionlink.c 4 head: 1.2 5 branch: 6 locks: strict 7 access list: 8 symbolic names: 9 keyword substitution: kv 10 total revisions: 2;     selected revisions: 2 11 description: 12 making link list using Functions. … Continue reading

Posted in Uncategorized | Leave a comment

Rlog File of link list Program without using Function……..

2 RCS file: link.c,v 3 Working file: link.c 4 head: 1.2 5 branch: 6 locks: strict 7 access list: 8 symbolic names: 9 keyword substitution: kv 10 total revisions: 2;     selected revisions: 2 11 description: 12 making link list without … Continue reading

Posted in Uncategorized | Leave a comment

Master Array Using Function With RCS

2 RCS file: file.c,v 3 Working file: file.c 4 head: 1.3 5 branch: 6 locks: strict 7 access list: 8 symbolic names: 9 keyword substitution: kv 10 total revisions: 3;     selected revisions: 3 11 description: 12 This is main Program … Continue reading

Posted in Uncategorized | Leave a comment

Program For selection Short

#include<stdio.h> int main() { int i,j,n,small,k; printf(“Enter the Element of Array\n”); scanf(“%d”,&n); int a[n]; printf(“Enter the element\n”); for(i=0;i<n;i++) { scanf(“%d”,&a[i]); } for(i=0;i<n;i++) { small=i; for(j=i;j<n;j++) { if(a[j]<a[small]) small=j; } k=a[small]; a[small]=a[i]; a[i]=k; } for(i=0;i<n;i++) { printf(“%d\n”,a[i]); } }

Posted in Uncategorized | Leave a comment

A program For Binary Search

#include<stdio.h> int main() { int i,j,n,temp,search,low,high,mid,c; printf(“Enter the element of array \n “); scanf(“%d”,&n); int a[n]; printf(“Enter the element\n”); for(i=0;i<n;i++) { scanf(“%d”,&a[i]); } for(i=0;i<n;i++) { for(j=i+1;j<n;j++) { if(a[i]>a[j]) { temp=a[i]; a[i]=a[j]; a[j]=temp; } } } printf(“Array After Shorting\n”); for(i=0;i<n;i++) { … Continue reading

Posted in Uncategorized | Leave a comment

To Understand Double Pointer Concept

#include<stdio.h> int main() { int value=77,num=99; int *pv=&value,*pn=&num; int **ppi; ppi=&pv; printf(“**ppi=%d\n”,**ppi); ppi=&pn; printf(“**ppi=%d\n”,**ppi); system(“pause”); }   in this program we  use two pointer as shown in program . In this first two value are stored in two variable after … Continue reading

Posted in Uncategorized | Leave a comment

Program of Addition of Two array an Answer storing in Third Array

#include<stdio.h> int main() { int a[100],b[100],c[100],i,n; printf(“enter element of array :”); scanf(“%d”,&n); printf(“Enter element of A:\n”); for(i=0;i<n;i++) { scanf(“%d”,&a[i]); } printf(“Enter element of A:\n”); for(i=0;i<n;i++) { scanf(“%d”,&b[i]); } for(i=0;i<n;i++) { c[i]=a[i]+b[i]; } for(i=0;i<n;i++) { printf(“a[%d] + b[%d]=c[%d]\n”,a[i],b[i],c[i]); } }

Posted in Uncategorized | Leave a comment

Program To Print Array index with its Element

#include<stdio.h> int main() { int a[100],i,n; printf(“enter element of array :\t”); scanf(“%d”,&n); for(i=0;i<n;i++) { scanf(“%d”,&a[i]); } for(i=0;i<n;i++) { printf(“a[%d]=%d\n”,i,a[i]); } }

Posted in Uncategorized | Leave a comment

Finding Average of an array

#include<stdio.h> int main() { int  a[100],n,i; float Avg=0,sum=0; printf(“enter Numbre of  array :\t”); scanf(“%d”,&n); printf(“Enter the element of array\n”); for(i=0;i<n;i++) { scanf(“%d”,&a[i]); sum=sum+a[i]; } Avg=sum/n; printf(“Avg = %f\n”,Avg); return 0; }

Posted in Uncategorized | Leave a comment

Finding the largest number in an array

#include<stdio.h> int main() { int a[100],n,i,j; printf(“enter the value of array:”); scanf(“%d”,&n); printf(“enter the value :\n”); for(i=0;i<n;i++) { scanf(“%d”,&a[i]); } j=a[0]; for(i=1;i<n;i++) { if(j<a[i]) j=a[i]; else j=j; } printf(“Largest element of array is :%d\n”,j); }

Posted in Uncategorized | Leave a comment

How to create FTP server on Linux ?

In the Last session we learn how to create FTP Server On Linux. To create FTP server there are few steps to follow which are given below. Mostly FTP are used as one of the most common  means of copying … Continue reading

Posted in Uncategorized | Leave a comment