Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<string.h>
- int main()
- {
- char s[1000], s1, * temp;
- gets(s, s1);
- int len = strlen(s);
- printf("Lenght of the string %d\n", len);
- temp = strlwr(s);
- printf("Lower cased string %s\n", temp);
- temp = strupr(s);
- printf("Upper cased string %s", temp);
- temp = strcat(s, s1);
- printf("Concated string:%s", temp);
- temp = strncat(s, s1, 2);
- printf("Concated string:%s", temp);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement