Arrays of chars are strings. there is a built in librray, that handles string string.h
but the data-type is held as arrays of chars.
char[10] c="string";
translate...
/* this is the same functionality as strcpy() *//* note that this, like strcpy, is not buffer overrun safe */char *StringCopy (char *destination, const char *source) {const char *temp =...
include <stdio.h> main () { int i=0,k=0,j; char a[30],b[30]; printf("\nEnter the string:\n");gets(a);while(a[i++]!='\0')k++;for (i = 0,j=k-1; i <k,j>=0 ; i++,j--)b[i] =...