use strcat, strncpy, stpcpy, sprintf, strlen+memcpy, etc
This is not a question.
[ string toupper $str ] or [ string tolower $str ]
It is a simple program. i think u may understand it :#include#include#includevoid main(){char s[10]=answers.com;char x[10];int a;clrscr();strcpy(x,s);strrev(s);a=strcmp(s,x);if(a==0){printf("the entered string is palindrome");}else{printf("the entered string is not palindrome");}output:given string is not palindrome
sdfdg
what is string
If you don't need to preserve the first string you could just iterate over the second string and copy each character onto the end of the first string, then return that
char *strmerge (char *s3, const char *s1, const char *s2) { strcpy (s3, s1); strcat (s3, s2); return s3; }
i dont no string for servlate
This is an assignment not a question.
i am sam
what is if(!(str[i]==32))
.... String line = "This is example program with spaces"; String[] tokens = line.split(" "); System.out.println(tokens.length-1); .......