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
i am sam
This is an assignment not a question.
what is if(!(str[i]==32))
.... String line = "This is example program with spaces"; String[] tokens = line.split(" "); System.out.println(tokens.length-1); .......
what is if(!(str[i]==32))
Certainly, you can write a program without main, but you cannot build an executable from it, if that is okay with you.
No.
final String[] days = new String[] {"Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"};
One way to do this is to convert the number to a String, then use the corresponding String method to find out the length of the String.
string rose = "rose"; rose = rose.Replace('r', 'R');
print c co com comp compu
write program to concatenating two sting in 8086 assembly language