Help me in solving HAPPYSTR problem

My issue

include <stdio.h>
int main()
{
char s1[20];
int i,t,j,l=0;
scanf(“%d”,&t);
for(i=0;i<t;i++)
{
l=0;
scanf(“%s”,s1);
for(j=0;s1[j]!=‘\0’;j++)
{
if(s1[j]==‘a’||s1[j]==‘e’||s1[j]==‘i’||s1[j]==‘o’||s1[j]==‘u’)
{
l++;
if(l>=3)
{
printf(“Happy\n”);
break;
}
}
else
l=0;
}
if(l<3)
printf(“Sad\n”);
}
return 0;
}

why it is showing runtime error

My code

#include <stdio.h>
int main() 
{
  char s1[20];
  int i,t,j,l=0;
  scanf("%d",&t);
  for(i=0;i<t;i++)
  {
      l=0;
    scanf("%s",s1);
    for(j=0;s1[j]!='\0';j++)
    {
    if(s1[j]=='a'||s1[j]=='e'||s1[j]=='i'||s1[j]=='o'||s1[j]=='u')
    {
     l++;
     if(l>=3)
     {
     printf("Happy\n");
     break;
     }
    }
    else
    l=0;
    }
    if(l<3)
     printf("Sad\n");
  }
	return 0;
}


Learning course: Strings using C
Problem Link: CodeChef: Practical coding for everyone

@codebug_79
just a little mistake
I have corrected it in your code.
s[1000] instead of s[20].

#include <stdio.h>
int main() 
{
  char s1[1000];
  int i,t,j,l=0;
  scanf("%d",&t);
  for(i=0;i<t;i++)
  {
     
    scanf("%s",s1);
    l=0;
    for(j=0;s1[j]!='\0';j++)
    {
    if(s1[j]=='a'||s1[j]=='e'||s1[j]=='i'||s1[j]=='o'||s1[j]=='u')
    {
     l++;
     if(l>=3)
     {
     printf("Happy\n");
     break;
     }
    }
    else
    l=0;
    }
    if(l<3)
     printf("Sad\n");
  }
	return 0;
}