3. Write a c program to delete the all consonants from given string.
9. Write a c program to print the string from given character.
10. Write a c program to reverse a string
11. Reverse a string using recursion in c
12. String concatenation in c without using strcat
13. How to compare two strings in c without using strcmp
14. String copy without using strcpy in c
15. Convert a string to ASCII in c
10. Write a c program to reverse a string
11. Reverse a string using recursion in c
12. String concatenation in c without using strcat
13. How to compare two strings in c without using strcmp
14. String copy without using strcpy in c
15. Convert a string to ASCII in c
6 comments:
include the header file "string.h"
then the function"strlen" will work
can someone convert these codes into C++ language?
u r absolutely ri8...
Yeah, even by using "toupper" function we can convert it directly to uppercase... but this program has ability to works without string library..!
#include
#include
void main(void)
{
char x[50];
int i=0;
puts("Enter the String: ");
gets(x);
while(x[i]!='\0')
{
x[i] = toupper (x[i]);
i++;
}
printf("\nYour String in Uppercase %s\n", x);
system("PAUSE");
return 0;
}
How we can write a program by using strupr??
Post a Comment