© 2014 Firstsoft Technologies (P) Limited.
login
Hi 'Guest'
Home
SiteMap
Contact Us
Disclaimer
Study Abroad
Education Loan
College News
Placement
Book Shops
E - Books
Engg-Admission
Edu-Classifieds
Students-Forum
Quick Links
Universities/Colleges
Districtwise Colleges
Engineering Colleges
Polytechnic Colleges
Distance Education
Exam Result
Software Companies
Training Centers
Easy Studies
Subject & Syllabus
Test Your Skills
University Q & A
Lab Exercise
Placement Paper Kit
Source Code
Student Projects
C Program To Implement Shell Sort:
#include
#include
void shell(int a[],int n); int i,j,k,n,temp,array[25]; void main() { clrscr(); printf("\n SHELL SORT"); printf("\n **********"); printf("\n Enter the limit:"); scanf("%d",&n); printf("\n Enter the elements\n\n"); for(i=0;i
=1;i/=2) { for(j=i;j<=n-1;j++) { temp=a[j]; k=j-i; while(k>=0&&temp
SAMPLE INPUT AND OUTPUT:
Enter the limit: 5
Enter the elements
5
4
3
2
1
Sorted list:
1
2
3
4
5
⇓Student Projects⇓
⇑Student Projects⇑