Showing posts with label string. Show all posts
Showing posts with label string. Show all posts

Saturday, March 29, 2014

To print the entered string in reverse order without using library function


Lets learn something new about string.In this  page I have made a program to find the reverse order of the entered string without using standard library function.  For more idea have a look at the source code and the printed output given below:
The output of the above program is given below:
The source code of the above output is:



Saturday, March 8, 2014

To arrange the entered words in ascending order using string


In the last page I have made the pattern of string. Now lets move forward. In this page I have made the program to find the ascending order of the words entered by the user. For this I have taken two standard library functions called strcmp and strcpy. For more idea have a look for the source code and the program below:
The source code for the above output is:


To display entered string in pattern


In the last program I have started string. Now in this program lets get some more idea about string.
For this I am going to  print string called america in pattern. For more information have a look for the source code and output of the program.
The output displayed is:
The source code for the output given below is:



Friday, March 7, 2014

WAP to print character and address of each character of string


This is the beginning program
of the string. In this page I am going to enter the character and the address of each character will be displayed. For more information have a look for the simple source code and the output of the following program.
The output of the following program is given in the right side:
The source code of the program is:


Wednesday, February 26, 2014

To print the pattern in triangular shape using string


In this programme I have used string to print the pattern of triangle.
For this