Language: C

#include <stdio.h>
#include <string.h>

char ss(char s){
	char t[101];
  	for(int i=0;i<strlen(s);i++){
		if(i!=0){
          	t[i+1]=s[i];
        }else{
		  	t[i]=s[strlen(s)-1];
        }
    }
}

int main(){
	char s[101],t[101];
  	scanf("%s%s",s,t);
  		
  	char flag='No',len=strlen(s);
  	
  	for(int i=0;i<len;i++){
      char u=ss(s);
		if(strcmp(u[len],t[len])==0){
           flag='Yes';
        break;
        }
    }

  	printf("%s",flag);
}
  	
  

Compiler output:
main.c: In function 'ss':
main.c:6:30: error: passing argument 1 of 'strlen' makes pointer from integer without a cast [-Wint-conversion]
    6 |         for(int i=0;i<strlen(s);i++){
      |                              ^
      |                              |
      |                              char
In file included from main.c:2:
/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'char'
  407 | extern size_t strlen (const char *__s)
      |                       ~~~~~~~~~~~~^~~
main.c:8:25: error: subscripted value is neither array nor pointer nor vector
    8 |                 t[i+1]=s[i];
      |                         ^
main.c:10:39: error: passing argument 1 of 'strlen' makes pointer from integer without a cast [-Wint-conversion]
   10 |                         t[i]=s[strlen(s)-1];
      |                                       ^
      |                                       |
      |                                       char
/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'char'
  407 | extern size_t strlen (const char *__s)
      |                       ~~~~~~~~~~~~^~~
main.c:10:31: error: subscripted value is neither array nor pointer nor vector
   10 |                         t[i]=s[strlen(s)-1];
      |                               ^
main.c: In function 'main':
main.c:19:19: warning: multi-character character constant [-Wmultichar]
   19 |         char flag='No',len=strlen(s);
      |                   ^~~~
main.c:19:19: warning: overflow in conversion from 'int' to 'char' changes value from '20079' to '111' [-Woverflow]
main.c:22:17: error: passing argument 1 of 'ss' makes integer from pointer without a cast [-Wint-conversion]
   22 |       char u=ss(s);
      |                 ^
      |                 |
      |                 char *
main.c:4:14: note: expected 'char' but argument is of type 'char *'
    4 | char ss(char s){
      |         ~~~~~^
main.c:23:28: error: subscripted value is neither array nor pointer nor vector
   23 |                 if(strcmp(u[len],t[len])==0){
      |                            ^
main.c:23:35: error: passing argument 2 of 'strcmp' makes pointer from integer without a cast [-Wint-conversion]
   23 |                 if(strcmp(u[len],t[len])==0){
      |                                  ~^~~~~
      |                                   |
      |                                   char
/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'char'
  156 | extern int strcmp (const char *__s1, const char *__s2)
      |                                      ~~~~~~~~~~~~^~~~
main.c:24:17: warning: multi-character character constant [-Wmultichar]
   24 |            flag='Yes';
      |                 ^~~~~
main.c:24:17: warning: overflow in conversion from 'int' to 'char' changes value from '5858675' to '115' [-Woverflow]