#include<stdio.h>
#include<string.h>
#include<conio.h>
void main()
{
char a[20];
int i,j,k;
clrscr();
printf("\nenter the string");
gets(a);
printf("\n\The string in alphabetical order is ");
for(i=0;a[i]!='\0';i++)
{
j=i;
for (k=i+1;a[k]!='\0';k++)
{
if(a[k]<a[j])
j=k;
}
k=a[i];
a[i]=a[j];
a[j]=(char)k;
printf("%c",a[i]);
}
getch();
}

Home       |      About Us       |     Portfolio       |      Services       |       Career        |    Contact Us       |      Industrial Training        |      Achievement
Corporate Services
  Web Design and development
  Web Promotion (SEO)
  Multimedia/CD Presentation
  Software development

  E.Commerce

Training@balujalabs

  Software Courses
  Hardware Courses
  Networking.Courses
  Mobile Repairing Courses
  UGC Degrees
Student Corner
 Programming & Projects
 Placement Papers
 Project Ideas
 Synopsis Ideas

  Franchise Section

 Administrator
Franchise Inquiry
 
 
Program to print the string in an alphabetic order.

 

 

 

 

 

 

 


 





Arrays

1 Read n numbers (n defined by programmer), Store them in one dimensional array and display the contents of that array on the screen.
2 Program to sort a list of n element using bubble sort.
3 Program to sort the list of an array using selection sort
4 Program to sort the elements of an array using insertion sort
5 Program to search an element in an array using linear search technique
6 Program to search an element using binary search technique
7 Program to print the elements of 2*2 matrixes.
8 Program to calculate the sum of all the elements of the matrix.
9 Program to find whether the given number is pallandrome or not
10 Program to merge two arrays in third one.
11 Program to input two matrices and print a matrix which is addition of these matrices
12 To find product of two matrices.
13 Program to initialize the elements of a metric and display them
14 Program to find transpose of a matrix.
15 Program to find smallest number of an array.
16 Program to generate the Fibonacci series.
17 Write a program find the trace and norm of a metric. Trace is designed as the sum of principal diagonal elements; norm is designed as the square root of the sum of the squares of all the elements in a matrix
18 Program to input a matrix; determine if it is a symmetrical matrix.

 

String

1 Program to find length of a string using str len() function
2 Program to combine two strings.
3 Program to copy a string from one string variable to another
4 Program to compare two strings.
5 Program to find reverse of a string.
6 Program to convert a string from upper case to lower case.
7 Program to compare two strings without using string functions
8 Program to check whether the string is or plain drome not
9 Program to print the string in an alphabetic order
10 Program to count the number of vowels and digits in a given string.
11 Program to copy one string to another without using library function.
12 Program to accept a string and convert all characters in a string from upper case to lower case without using string function
13 Program to extract a substring from the given string
     
Home       |      About Us       |     Portfolio       |      Services       |       Career        |    Contact Us       |      Industrial Training        |      Achievement